dynamodb

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeserializeMiddleware

type DeserializeMiddleware struct {
	Output *ExecuteStatementOutput
}

DeserializeMiddleware provides the interface for middleware specific to the serialize step. Delegates to the next DeserializeHandler for further processing.

func NewDeserializeMiddleware

func NewDeserializeMiddleware(aType *exec.Type) *DeserializeMiddleware

NewDeserializeMiddleware returns deserializerj

func (*DeserializeMiddleware) HandleDeserialize

HandleDeserialize handle deserialize

func (*DeserializeMiddleware) ID

func (m *DeserializeMiddleware) ID() string

ID returns ID

type ExecuteStatementOutput

type ExecuteStatementOutput struct {
	Encoder *attributevalue.Encoder
	*dynamodb.ExecuteStatementOutput
	*Output
}

ExecuteStatementOutput statement output

func NewExecuteStatementOutput

func NewExecuteStatementOutput(schemaType *exec.Type) *ExecuteStatementOutput

NewExecuteStatementOutput returns statement output

func (*ExecuteStatementOutput) IsNil

func (o *ExecuteStatementOutput) IsNil() bool

IsNil checks if instance is nil

func (*ExecuteStatementOutput) NKeys

func (o *ExecuteStatementOutput) NKeys() int

NKeys returns the number of keys to unmarshal

func (*ExecuteStatementOutput) UnmarshalJSONObject

func (o *ExecuteStatementOutput) UnmarshalJSONObject(dec *gojay.Decoder, k string) error

UnmarshalJSONObject implements gojay's UnmarshalerJSONObject

type FieldType

type FieldType struct {
	Type reflect.Type
}

FieldType represents a field type

func (*FieldType) NKeys

func (s *FieldType) NKeys() int

NKeys returns keys count

func (*FieldType) UnmarshalJSONObject

func (s *FieldType) UnmarshalJSONObject(dec *gojay.Decoder, k string) error

UnmarshalJSONObject unmarshal object

type Output

type Output struct {
	Type  *exec.Type
	Rows  []Region
	Data  []byte
	Field *exec.Field
	FieldType
}

Output represents optimized output

func (*Output) NKeys

func (s *Output) NKeys() int

NKeys returns keys

func (*Output) UnmarshalJSONArray

func (s *Output) UnmarshalJSONArray(dec *gojay.Decoder) error

UnmarshalJSONArray unmrshal array

func (*Output) UnmarshalJSONObject

func (s *Output) UnmarshalJSONObject(dec *gojay.Decoder, k string) error

UnmarshalJSONObject unmarshal object

type Region

type Region struct {
	Begin int
	End   int
}

Region represents a data region

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL