planbuilder

package
v2.0.0-rc.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package planbuilder allows you to build execution plans that describe how to fulfill a query that may span multiple keyspaces or shards.

The main entry point for the planbuilder is the Build function that accepts a query and vschema and returns the plan.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(query string, vschema VSchema) (*engine.Plan, error)

Build builds a plan for a query based on the specified vschema. It's the main entry point for this package.

Types

type VSchema

type VSchema interface {
	Find(keyspace, tablename string) (table *vindexes.Table, err error)
}

VSchema defines the interface for this package to fetch info about tables.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL