Documentation ¶
Index ¶
- Constants
- type ParamMarkerExpr
- type ValueExpr
- func (n *ValueExpr) Accept(v ast.Visitor) (ast.Node, bool)
- func (n *ValueExpr) Format(w io.Writer)
- func (n *ValueExpr) GetDatumString() string
- func (n *ValueExpr) GetProjectionOffset() int
- func (n *ValueExpr) Restore(ctx *format.RestoreCtx) error
- func (n *ValueExpr) SetProjectionOffset(offset int)
- func (n *ValueExpr) SetValue(res interface{})
Constants ¶
View Source
const ( // FeatureIDAutoRandom is the `auto_random` feature. FeatureIDAutoRandom featureID = "auto_rand" // FeatureIDAutoIDCache is the `auto_id_cache` feature. FeatureIDAutoIDCache featureID = "auto_id_cache" // FeatureIDAutoRandomBase is the `auto_random_base` feature. FeatureIDAutoRandomBase featureID = "auto_rand_base" // FeatureClusteredIndex is the `clustered_index` feature. FeatureClusteredIndex featureID = "clustered_index" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParamMarkerExpr ¶
ParamMarkerExpr expression holds a place for another expression. Used in parsing prepare statement.
func (*ParamMarkerExpr) Format ¶
func (n *ParamMarkerExpr) Format(w io.Writer)
Format the ExprNode into a Writer.
func (*ParamMarkerExpr) Restore ¶
func (n *ParamMarkerExpr) Restore(ctx *format.RestoreCtx) error
Restore implements Node interface.
func (*ParamMarkerExpr) SetOrder ¶
func (n *ParamMarkerExpr) SetOrder(order int)
SetOrder implements the ast.ParamMarkerExpr interface.
type ValueExpr ¶
ValueExpr is the simple value expression.
func (*ValueExpr) GetDatumString ¶
GetDatumString implements the ast.ValueExpr interface.
func (*ValueExpr) GetProjectionOffset ¶
GetProjectionOffset returns ValueExpr.projectionOffset.
func (*ValueExpr) Restore ¶
func (n *ValueExpr) Restore(ctx *format.RestoreCtx) error
Restore implements Node interface.
func (*ValueExpr) SetProjectionOffset ¶
SetProjectionOffset sets ValueExpr.projectionOffset for logical plan builder.
Click to show internal directories.
Click to hide internal directories.