Documentation ¶
Index ¶
- Constants
- type CompareType_
- type ConditionUnit_
- type CreateDbOper_
- type CreateFragOper_
- type DeleteOper_
- type Expression_
- type FieldWithInfo
- type Field_
- type Frag_
- type InsertOper_
- type JoinOper_
- type OperatorType_
- type Operator_
- type Plantree
- type PredicateOper_
- type ProjectOper_
- type ScanOper_
- type UnionOper_
- type Value_
Constants ¶
View Source
const ( Scan = iota Predicate Join Union Project CreateDb CreateFrag Insert Delete )
View Source
const ( Lt = iota Le Eq Ge Gt Neq )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionUnit_ ¶
type ConditionUnit_ struct { Lexpression Expression_ Rexpression Expression_ CompOp CompareType_ }
type CreateDbOper_ ¶
type CreateDbOper_ struct {
DbName string
}
type CreateFragOper_ ¶
type CreateFragOper_ struct { TableName string Fields []FieldWithInfo }
type DeleteOper_ ¶
type DeleteOper_ struct {
TableName string
}
type Expression_ ¶
type FieldWithInfo ¶
type Frag_ ¶
type Frag_ struct { Name string SiteName string IsVertical bool Cols []string Condition []ConditionUnit_ }
type InsertOper_ ¶
type JoinOper_ ¶
type JoinOper_ struct { LtableName string RtableName string JoinConditions []ConditionUnit_ }
type Operator_ ¶
type Operator_ struct { FragName string Unused bool Parent *Operator_ Childs []*Operator_ Site string NeedTransfer bool // 算子是否需要传输数据 DestSite string // 数据传输地址 OperType OperatorType_ ScanOper *ScanOper_ PredicateOper *PredicateOper_ JoinOper *JoinOper_ UnionOper *UnionOper_ ProjectOper *ProjectOper_ CreateDbOper *CreateDbOper_ CreateFragOper *CreateFragOper_ InsertOper *InsertOper_ DeleteOper *DeleteOper_ }
type PredicateOper_ ¶
type PredicateOper_ struct {
PredConditions []ConditionUnit_
}
type ProjectOper_ ¶
type ProjectOper_ struct {
Fields []Field_
}
type UnionOper_ ¶
Click to show internal directories.
Click to hide internal directories.