Documentation ¶
Index ¶
- Constants
- type ExpressionEncoder
- func (e *ExpressionEncoder) EnterBetween(ctx *generated.BetweenContext)
- func (e *ExpressionEncoder) EnterComparator(ctx *generated.ComparatorContext)
- func (e *ExpressionEncoder) EnterFunctionCall(ctx *generated.FunctionCallContext)
- func (e *ExpressionEncoder) EnterIn(ctx *generated.InContext)
- func (e *ExpressionEncoder) EnterPlusMinus(ctx *generated.PlusMinusContext)
- func (e *ExpressionEncoder) ExitAdd_action(ctx *generated.Add_actionContext)
- func (e *ExpressionEncoder) ExitAnd(ctx *generated.AndContext)
- func (e *ExpressionEncoder) ExitBetween(ctx *generated.BetweenContext)
- func (e *ExpressionEncoder) ExitComparator(ctx *generated.ComparatorContext)
- func (e *ExpressionEncoder) ExitComparator_symbol(ctx *generated.Comparator_symbolContext)
- func (e *ExpressionEncoder) ExitDelete_section(ctx *generated.Delete_sectionContext)
- func (e *ExpressionEncoder) ExitFunctionCall(ctx *generated.FunctionCallContext)
- func (e *ExpressionEncoder) ExitId(ctx *generated.IdContext)
- func (e *ExpressionEncoder) ExitIn(ctx *generated.InContext)
- func (e *ExpressionEncoder) ExitListAccess(ctx *generated.ListAccessContext)
- func (e *ExpressionEncoder) ExitLiteralSub(ctx *generated.LiteralSubContext)
- func (e *ExpressionEncoder) ExitNegation(ctx *generated.NegationContext)
- func (e *ExpressionEncoder) ExitOr(ctx *generated.OrContext)
- func (e *ExpressionEncoder) ExitPath(ctx *generated.PathContext)
- func (e *ExpressionEncoder) ExitPlusMinus(ctx *generated.PlusMinusContext)
- func (e *ExpressionEncoder) ExitProjection(ctx *generated.ProjectionContext)
- func (e *ExpressionEncoder) ExitRemove_action(ctx *generated.Remove_actionContext)
- func (e *ExpressionEncoder) ExitSet_action(ctx *generated.Set_actionContext)
- func (e *ExpressionEncoder) ExitUpdate(ctx *generated.UpdateContext)
- func (e *ExpressionEncoder) Parse() (map[int][]byte, error)
- func (e *ExpressionEncoder) Write(typ int, writer io.Writer) error
Constants ¶
View Source
const ( ProjectionExpr = iota ConditionExpr KeyConditionExpr FilterExpr UpdateExpr )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpressionEncoder ¶
type ExpressionEncoder struct { generated.BaseDynamoDbGrammarListener // contains filtered or unexported fields }
func NewExpressionEncoder ¶
func NewExpressionEncoder(expr map[int]string, subs map[string]*string, vars map[string]*dynamodb.AttributeValue) *ExpressionEncoder
func (*ExpressionEncoder) EnterBetween ¶
func (e *ExpressionEncoder) EnterBetween(ctx *generated.BetweenContext)
func (*ExpressionEncoder) EnterComparator ¶
func (e *ExpressionEncoder) EnterComparator(ctx *generated.ComparatorContext)
func (*ExpressionEncoder) EnterFunctionCall ¶
func (e *ExpressionEncoder) EnterFunctionCall(ctx *generated.FunctionCallContext)
func (*ExpressionEncoder) EnterIn ¶
func (e *ExpressionEncoder) EnterIn(ctx *generated.InContext)
func (*ExpressionEncoder) EnterPlusMinus ¶
func (e *ExpressionEncoder) EnterPlusMinus(ctx *generated.PlusMinusContext)
func (*ExpressionEncoder) ExitAdd_action ¶
func (e *ExpressionEncoder) ExitAdd_action(ctx *generated.Add_actionContext)
func (*ExpressionEncoder) ExitAnd ¶
func (e *ExpressionEncoder) ExitAnd(ctx *generated.AndContext)
func (*ExpressionEncoder) ExitBetween ¶
func (e *ExpressionEncoder) ExitBetween(ctx *generated.BetweenContext)
func (*ExpressionEncoder) ExitComparator ¶
func (e *ExpressionEncoder) ExitComparator(ctx *generated.ComparatorContext)
func (*ExpressionEncoder) ExitComparator_symbol ¶
func (e *ExpressionEncoder) ExitComparator_symbol(ctx *generated.Comparator_symbolContext)
func (*ExpressionEncoder) ExitDelete_section ¶
func (e *ExpressionEncoder) ExitDelete_section(ctx *generated.Delete_sectionContext)
func (*ExpressionEncoder) ExitFunctionCall ¶
func (e *ExpressionEncoder) ExitFunctionCall(ctx *generated.FunctionCallContext)
func (*ExpressionEncoder) ExitId ¶
func (e *ExpressionEncoder) ExitId(ctx *generated.IdContext)
func (*ExpressionEncoder) ExitIn ¶
func (e *ExpressionEncoder) ExitIn(ctx *generated.InContext)
func (*ExpressionEncoder) ExitListAccess ¶
func (e *ExpressionEncoder) ExitListAccess(ctx *generated.ListAccessContext)
func (*ExpressionEncoder) ExitLiteralSub ¶
func (e *ExpressionEncoder) ExitLiteralSub(ctx *generated.LiteralSubContext)
func (*ExpressionEncoder) ExitNegation ¶
func (e *ExpressionEncoder) ExitNegation(ctx *generated.NegationContext)
func (*ExpressionEncoder) ExitOr ¶
func (e *ExpressionEncoder) ExitOr(ctx *generated.OrContext)
func (*ExpressionEncoder) ExitPath ¶
func (e *ExpressionEncoder) ExitPath(ctx *generated.PathContext)
func (*ExpressionEncoder) ExitPlusMinus ¶
func (e *ExpressionEncoder) ExitPlusMinus(ctx *generated.PlusMinusContext)
func (*ExpressionEncoder) ExitProjection ¶
func (e *ExpressionEncoder) ExitProjection(ctx *generated.ProjectionContext)
func (*ExpressionEncoder) ExitRemove_action ¶
func (e *ExpressionEncoder) ExitRemove_action(ctx *generated.Remove_actionContext)
func (*ExpressionEncoder) ExitSet_action ¶
func (e *ExpressionEncoder) ExitSet_action(ctx *generated.Set_actionContext)
func (*ExpressionEncoder) ExitUpdate ¶
func (e *ExpressionEncoder) ExitUpdate(ctx *generated.UpdateContext)
Click to show internal directories.
Click to hide internal directories.