Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOperationItem ¶
type AddOperationItem struct {
Path expressionutils.AttributePath
Value interface{}
}
func Add ¶
func Add(path expressionutils.AttributePath, value interface{}) *AddOperationItem
func (*AddOperationItem) Marshall ¶
func (i *AddOperationItem) Marshall(path *expressionutils.OperationPath, attributeNames map[string]string, attributeValues map[string]interface{}) string
type AdditionOperationItem ¶
type AdditionOperationItem struct {
BinaryOperationItem
}
func Addition ¶
func Addition(left interface{}, right interface{}) *AdditionOperationItem
func (*AdditionOperationItem) Marshal ¶
func (o *AdditionOperationItem) Marshal(path *expressionutils.OperationPath, attributeNames map[string]string, attributeValues map[string]interface{}) string
type BinaryOperation ¶
type BinaryOperation string
const ( AdditionOperation BinaryOperation = "+" SubtractionOperation BinaryOperation = "-" )
type BinaryOperationItem ¶
type BinaryOperationItem struct {
LeftOperand interface{}
RightOperand interface{}
}
func (*BinaryOperationItem) IsValueOperation ¶
func (i *BinaryOperationItem) IsValueOperation()
type DeleteOperationItem ¶
type DeleteOperationItem struct {
Path expressionutils.AttributePath
Value interface{}
}
func Delete ¶
func Delete(path expressionutils.AttributePath, value interface{}) *DeleteOperationItem
func (*DeleteOperationItem) Marshall ¶
func (i *DeleteOperationItem) Marshall(path *expressionutils.OperationPath, attributeNames map[string]string, attributeValues map[string]interface{}) string
type IfNotExistsOperationItem ¶
type IfNotExistsOperationItem struct {
Path expressionutils.AttributePath
Value interface{}
}
func IfNotExists ¶
func IfNotExists(path expressionutils.AttributePath, value interface{}) *IfNotExistsOperationItem
func (*IfNotExistsOperationItem) IsFunctionOperation ¶
func (l *IfNotExistsOperationItem) IsFunctionOperation()
func (*IfNotExistsOperationItem) Marshal ¶
func (l *IfNotExistsOperationItem) Marshal(path *expressionutils.OperationPath, attributeNames map[string]string, attributeValues map[string]interface{}) string
type ListAppendOperationItem ¶
type ListAppendOperationItem struct {
Path expressionutils.AttributePath
Values []interface{}
}
func ListAppend ¶
func ListAppend(path expressionutils.AttributePath, values ...interface{}) *ListAppendOperationItem
func (*ListAppendOperationItem) IsFunctionOperation ¶
func (l *ListAppendOperationItem) IsFunctionOperation()
func (*ListAppendOperationItem) Marshal ¶
func (l *ListAppendOperationItem) Marshal(path *expressionutils.OperationPath, attributeNames map[string]string, attributeValues map[string]interface{}) string
type OperationItem ¶
type OperationItem interface {
Marshal(path *expressionutils.OperationPath, attributeNames map[string]string, attributeValues map[string]interface{}) string
}
type SetFunctionOperationItem ¶
type SetFunctionOperationItem interface {
OperationItem
IsFunctionOperation()
}
type SetOperationItem ¶
type SetOperationItem struct {
Path expressionutils.AttributePath
Value interface{}
}
func Set ¶
func Set(path expressionutils.AttributePath, value interface{}) *SetOperationItem
func (*SetOperationItem) Marshal ¶
func (o *SetOperationItem) Marshal(path *expressionutils.OperationPath, attributeNames map[string]string, attributeValues map[string]interface{}) string
type SubtractionOperationItem ¶
type SubtractionOperationItem struct {
BinaryOperationItem
}
func Subtraction ¶
func Subtraction(left interface{}, right interface{}) *SubtractionOperationItem
func (*SubtractionOperationItem) Marshal ¶
func (o *SubtractionOperationItem) Marshal(path *expressionutils.OperationPath, attributeNames map[string]string, attributeValues map[string]interface{}) string
type ValueOperation ¶
type ValueOperation interface {
OperationItem
IsValueOperation()
}
Click to show internal directories.
Click to hide internal directories.