Documentation ¶
Index ¶
- func FromAnyPb(impl *anypb.Any) data.Value
- func FromFieldPb(impl *protobufs.DatabaseField) data.Field
- func FromRequest(r data.Request) data.Field
- func FromSchemaPb(impl *protobufs.DatabaseFieldSchema) data.FieldSchema
- func NewValue() data.Value
- func ToAnyPb(v data.Value) *anypb.Any
- func ToFieldPb(f data.Field) *protobufs.DatabaseField
- func ToSchemaPb(s data.FieldSchema) *protobufs.DatabaseFieldSchema
- type Field
- type Schema
- type Value
- func (v *Value) GetBinaryFile() string
- func (v *Value) GetBool() bool
- func (v *Value) GetEntityReference() string
- func (v *Value) GetFloat() float64
- func (v *Value) GetInt() int64
- func (v *Value) GetString() string
- func (v *Value) GetTimestamp() time.Time
- func (v *Value) GetTransformation() string
- func (v *Value) GetType() string
- func (v *Value) IsBinaryFile() bool
- func (v *Value) IsBool() bool
- func (v *Value) IsEntityReference() bool
- func (v *Value) IsFloat() bool
- func (v *Value) IsInt() bool
- func (v *Value) IsString() bool
- func (v *Value) IsTimestamp() bool
- func (v *Value) IsTransformation() bool
- func (v *Value) SetBinaryFile(b interface{}) data.Value
- func (v *Value) SetBool(b interface{}) data.Value
- func (v *Value) SetEntityReference(e interface{}) data.Value
- func (v *Value) SetFloat(f interface{}) data.Value
- func (v *Value) SetInt(i interface{}) data.Value
- func (v *Value) SetString(s interface{}) data.Value
- func (v *Value) SetTimestamp(t interface{}) data.Value
- func (v *Value) SetTransformation(t interface{}) data.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromFieldPb ¶
func FromFieldPb(impl *protobufs.DatabaseField) data.Field
func FromSchemaPb ¶
func FromSchemaPb(impl *protobufs.DatabaseFieldSchema) data.FieldSchema
func ToSchemaPb ¶
func ToSchemaPb(s data.FieldSchema) *protobufs.DatabaseFieldSchema
Types ¶
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
func (*Field) GetEntityId ¶
func (*Field) GetFieldName ¶
func (*Field) GetWriteTime ¶
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
func (Schema) GetFieldName ¶
func (Schema) GetFieldType ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
func (*Value) GetBinaryFile ¶
func (*Value) GetEntityReference ¶
func (*Value) GetTimestamp ¶
func (*Value) GetTransformation ¶
func (*Value) IsBinaryFile ¶
func (*Value) IsEntityReference ¶
func (*Value) IsTimestamp ¶
func (*Value) IsTransformation ¶
func (*Value) SetBinaryFile ¶
func (*Value) SetEntityReference ¶
func (*Value) SetTimestamp ¶
func (*Value) SetTransformation ¶
Click to show internal directories.
Click to hide internal directories.