Documentation ¶
Index ¶
Constants ¶
View Source
const ( Select = iota CreateFrag Insert Delete )
Variables ¶
This section is empty.
Functions ¶
func AnalyseCondition ¶
func AnalyseCondition(con string) []plan.ConditionUnit_
这里有一个问题,PRC这种外面的引号没有加,我省掉了(解决) 水平分片条件没有实现or
Types ¶
type CreateFragStmt_ ¶
type CreateFragStmt_ struct { TableName string SiteName string Fields []plan.FieldWithInfo }
type DeleteStmt_ ¶
type DeleteStmt_ struct {
TableName string
}
type InsertStmt_ ¶
type SelectStmt_ ¶
type SelectStmt_ struct { Fields []plan.Field_ Tables []string ConditionUnits []plan.ConditionUnit_ }
type Stmt_ ¶
type Stmt_ struct { Type StmtType_ SelectStmt *SelectStmt_ CreateFragStmt *CreateFragStmt_ InsertStmt *InsertStmt_ DeleteStmt *DeleteStmt_ }
Click to show internal directories.
Click to hide internal directories.