Documentation ¶
Index ¶
Constants ¶
View Source
const (
)Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogInfo ¶
type ColumnInfo ¶
type ColumnInfo struct { SchemaId uint64 `json:"schema_id"` TableID uint64 `json:"table_id"` Id uint64 `json:"column_id"` Name string `json:"name"` Type types.Type `json:"type"` Default engine.DefaultExpr `json:"default"` Alg int `json:"alg"` Epoch uint64 `json:"epoch"` PrimaryKey bool `json:"primary_key"` // PrimaryKey is the name of the column of the primary key NullAbility bool `json:"nullability"` }
ColumnInfo stores the information of a column.
type SchemaInfo ¶
type SchemaInfo struct { CatalogId uint64 `json:"catalog_id"` Id uint64 `json:"id"` Name string `json:"name"` Tables []*TableInfo `json:"tables"` // Tables in the DBName. State SchemaState `json:"state"` Type int `json:"type"` // Engine type of schema: RSE、AOE、Spill Epoch uint64 `json:"epoch"` }
SchemaInfo stores the information of a schema(database).
type SchemaState ¶
type SchemaState byte
const ( // StateNone means this schema element is absent and can't be used. StateNone SchemaState = iota // StateDeleteOnly means we can only delete items for this schema element. StateDeleteOnly // StatePublic means this schema element is ok for all write and read operations. StatePublic )
type Segment ¶
type Segment interface { engine.Statistics ID() string Blocks() []string Block(string) Block NewSparseFilter() SparseFilter }
type SegmentInfo ¶
type SparseFilter ¶
type SparseFilter interface { Eq(string, interface{}) ([]string, error) Ne(string, interface{}) ([]string, error) Lt(string, interface{}) ([]string, error) Le(string, interface{}) ([]string, error) Gt(string, interface{}) ([]string, error) Ge(string, interface{}) ([]string, error) Btw(string, interface{}, interface{}) ([]string, error) }
type TableInfo ¶
type TableInfo struct { SchemaId uint64 `json:"schema_id"` Id uint64 `json:"id"` Name string `json:"name"` Type uint64 `json:"type"` // Type of the table: BASE TABLE for a normal table, VIEW for a view, etc. Indices []IndexInfo `json:"indices"` Columns []ColumnInfo `json:"columns"` // Column is listed in order in which they appear in schema Comment []byte `json:"comment"` State SchemaState `json:"state"` Partition []byte `json:"partition"` Properties []Property Epoch uint64 `json:"epoch"` }
TableInfo stores the information of a table or view.
type TabletInfo ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
common
|
|
dates
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
datetimes
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
float32s
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
float64s
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
int16s
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
int32s
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
int64s
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
int8s
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
uint16s
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
uint32s
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
uint64s
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
uint8s
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
varchar
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
Click to show internal directories.
Click to hide internal directories.