Documentation ¶
Index ¶
- Variables
- type InetArray
- type InetBuilder
- func (b *InetBuilder) Append(v *net.IPNet)
- func (b *InetBuilder) AppendValueFromString(s string) error
- func (b *InetBuilder) AppendValues(v []*net.IPNet, valid []bool)
- func (b *InetBuilder) NewInetArray() *InetArray
- func (b *InetBuilder) Unmarshal(dec *json.Decoder) error
- func (b *InetBuilder) UnmarshalJSON(data []byte) error
- func (b *InetBuilder) UnmarshalOne(dec *json.Decoder) error
- func (b *InetBuilder) UnsafeAppend(v *net.IPNet)
- type InetType
- func (*InetType) ArrayType() reflect.Type
- func (*InetType) Deserialize(storageType arrow.DataType, data string) (arrow.ExtensionType, error)
- func (u *InetType) ExtensionEquals(other arrow.ExtensionType) bool
- func (*InetType) ExtensionName() string
- func (*InetType) NewBuilder(bldr *array.ExtensionBuilder) array.Builder
- func (*InetType) Serialize() string
- type JSONArray
- type JSONBuilder
- func (b *JSONBuilder) Append(v any)
- func (b *JSONBuilder) AppendValueFromString(s string) error
- func (b *JSONBuilder) AppendValues(v []any, valid []bool)
- func (b *JSONBuilder) NewJSONArray() *JSONArray
- func (b *JSONBuilder) Unmarshal(dec *json.Decoder) error
- func (b *JSONBuilder) UnmarshalJSON(data []byte) error
- func (b *JSONBuilder) UnmarshalOne(dec *json.Decoder) error
- func (b *JSONBuilder) UnsafeAppend(v any)
- type JSONType
- func (*JSONType) ArrayType() reflect.Type
- func (*JSONType) Deserialize(storageType arrow.DataType, data string) (arrow.ExtensionType, error)
- func (e *JSONType) ExtensionEquals(other arrow.ExtensionType) bool
- func (*JSONType) ExtensionName() string
- func (e *JSONType) MarshalJSON() ([]byte, error)
- func (*JSONType) NewBuilder(bldr *array.ExtensionBuilder) array.Builder
- func (*JSONType) Serialize() string
- func (e *JSONType) String() string
- type MacArray
- type MacBuilder
- func (b *MacBuilder) Append(v net.HardwareAddr)
- func (b *MacBuilder) AppendValueFromString(s string) error
- func (b *MacBuilder) AppendValues(v []net.HardwareAddr, valid []bool)
- func (b *MacBuilder) NewMacArray() *MacArray
- func (b *MacBuilder) Unmarshal(dec *json.Decoder) error
- func (b *MacBuilder) UnmarshalJSON(data []byte) error
- func (b *MacBuilder) UnmarshalOne(dec *json.Decoder) error
- func (b *MacBuilder) UnsafeAppend(v net.HardwareAddr)
- type MacType
- func (*MacType) ArrayType() reflect.Type
- func (*MacType) Deserialize(storageType arrow.DataType, data string) (arrow.ExtensionType, error)
- func (u *MacType) ExtensionEquals(other arrow.ExtensionType) bool
- func (*MacType) ExtensionName() string
- func (*MacType) NewBuilder(bldr *array.ExtensionBuilder) array.Builder
- func (*MacType) Serialize() string
- type UUIDArray
- type UUIDBuilder
- func (b *UUIDBuilder) Append(v uuid.UUID)
- func (b *UUIDBuilder) AppendValueFromString(s string) error
- func (b *UUIDBuilder) AppendValues(v []uuid.UUID, valid []bool)
- func (b *UUIDBuilder) NewUUIDArray() *UUIDArray
- func (b *UUIDBuilder) Unmarshal(dec *json.Decoder) error
- func (b *UUIDBuilder) UnmarshalJSON(data []byte) error
- func (b *UUIDBuilder) UnmarshalOne(dec *json.Decoder) error
- func (b *UUIDBuilder) UnsafeAppend(v uuid.UUID)
- type UUIDType
- func (*UUIDType) ArrayType() reflect.Type
- func (*UUIDType) Deserialize(storageType arrow.DataType, data string) (arrow.ExtensionType, error)
- func (e *UUIDType) ExtensionEquals(other arrow.ExtensionType) bool
- func (*UUIDType) ExtensionName() string
- func (e *UUIDType) MarshalJSON() ([]byte, error)
- func (*UUIDType) NewBuilder(bldr *array.ExtensionBuilder) array.Builder
- func (*UUIDType) Serialize() string
- func (e *UUIDType) String() string
Constants ¶
This section is empty.
Variables ¶
var ExtensionTypes = struct { UUID arrow.ExtensionType Inet arrow.ExtensionType Mac arrow.ExtensionType JSON arrow.ExtensionType }{ UUID: NewUUIDType(), Inet: NewInetType(), Mac: NewMacType(), JSON: NewJSONType(), }
var UUID = NewUUIDType()
Functions ¶
This section is empty.
Types ¶
type InetArray ¶
type InetArray struct {
array.ExtensionArrayBase
}
InetArray is a simple array which is a FixedSizeBinary(16)
func (*InetArray) GetOneForMarshal ¶
type InetBuilder ¶
type InetBuilder struct {
*array.ExtensionBuilder
}
func NewInetBuilder ¶
func NewInetBuilder(builder *array.ExtensionBuilder) *InetBuilder
func (*InetBuilder) Append ¶
func (b *InetBuilder) Append(v *net.IPNet)
func (*InetBuilder) AppendValueFromString ¶ added in v2.0.1
func (b *InetBuilder) AppendValueFromString(s string) error
func (*InetBuilder) AppendValues ¶
func (b *InetBuilder) AppendValues(v []*net.IPNet, valid []bool)
func (*InetBuilder) NewInetArray ¶ added in v2.6.0
func (b *InetBuilder) NewInetArray() *InetArray
func (*InetBuilder) Unmarshal ¶
func (b *InetBuilder) Unmarshal(dec *json.Decoder) error
func (*InetBuilder) UnmarshalJSON ¶
func (b *InetBuilder) UnmarshalJSON(data []byte) error
func (*InetBuilder) UnmarshalOne ¶
func (b *InetBuilder) UnmarshalOne(dec *json.Decoder) error
func (*InetBuilder) UnsafeAppend ¶
func (b *InetBuilder) UnsafeAppend(v *net.IPNet)
type InetType ¶
type InetType struct {
arrow.ExtensionBase
}
InetType is a simple extension type that represents a StringType to be used for representing IP Addresses and CIDRs
func NewInetType ¶
func NewInetType() *InetType
NewInetType is a convenience function to create an instance of InetType with the correct storage type
func (*InetType) Deserialize ¶
Deserialize expects storageType to be StringType and the data to be "inet-serialized" in order to correctly create a InetType for testing deserialize.
func (*InetType) ExtensionEquals ¶
func (u *InetType) ExtensionEquals(other arrow.ExtensionType) bool
ExtensionEquals returns true if both extensions have the same name
func (*InetType) ExtensionName ¶
func (*InetType) NewBuilder ¶
func (*InetType) NewBuilder(bldr *array.ExtensionBuilder) array.Builder
type JSONArray ¶
type JSONArray struct {
array.ExtensionArrayBase
}
JSONArray is a simple array which is a Binary
func (*JSONArray) GetOneForMarshal ¶
func (*JSONArray) MarshalJSON ¶
type JSONBuilder ¶
type JSONBuilder struct {
*array.ExtensionBuilder
}
func NewJSONBuilder ¶
func NewJSONBuilder(builder *array.ExtensionBuilder) *JSONBuilder
func (*JSONBuilder) Append ¶
func (b *JSONBuilder) Append(v any)
func (*JSONBuilder) AppendValueFromString ¶ added in v2.0.1
func (b *JSONBuilder) AppendValueFromString(s string) error
func (*JSONBuilder) AppendValues ¶
func (b *JSONBuilder) AppendValues(v []any, valid []bool)
func (*JSONBuilder) NewJSONArray ¶ added in v2.6.0
func (b *JSONBuilder) NewJSONArray() *JSONArray
func (*JSONBuilder) Unmarshal ¶ added in v2.5.0
func (b *JSONBuilder) Unmarshal(dec *json.Decoder) error
func (*JSONBuilder) UnmarshalJSON ¶
func (b *JSONBuilder) UnmarshalJSON(data []byte) error
func (*JSONBuilder) UnmarshalOne ¶
func (b *JSONBuilder) UnmarshalOne(dec *json.Decoder) error
func (*JSONBuilder) UnsafeAppend ¶
func (b *JSONBuilder) UnsafeAppend(v any)
type JSONType ¶
type JSONType struct {
arrow.ExtensionBase
}
JSONType is a simple extension type that represents a BinaryType to be used for representing JSONs
func NewJSONType ¶
func NewJSONType() *JSONType
NewJSONType is a convenience function to create an instance of JSONType with the correct storage type
func (*JSONType) Deserialize ¶
Deserialize expects storageType to be BinaryBuilder and the data to be "json-serialized" in order to correctly create a JSONType for testing deserialize.
func (*JSONType) ExtensionEquals ¶
func (e *JSONType) ExtensionEquals(other arrow.ExtensionType) bool
ExtensionEquals returns true if both extensions have the same name
func (*JSONType) ExtensionName ¶
func (*JSONType) MarshalJSON ¶
func (*JSONType) NewBuilder ¶
func (*JSONType) NewBuilder(bldr *array.ExtensionBuilder) array.Builder
type MacArray ¶
type MacArray struct {
array.ExtensionArrayBase
}
MacArray is a simple array which is a wrapper around a BinaryArray
func (*MacArray) GetOneForMarshal ¶
func (*MacArray) MarshalJSON ¶
type MacBuilder ¶
type MacBuilder struct {
*array.ExtensionBuilder
}
func NewMacBuilder ¶
func NewMacBuilder(builder *array.ExtensionBuilder) *MacBuilder
func (*MacBuilder) Append ¶
func (b *MacBuilder) Append(v net.HardwareAddr)
func (*MacBuilder) AppendValueFromString ¶ added in v2.0.1
func (b *MacBuilder) AppendValueFromString(s string) error
func (*MacBuilder) AppendValues ¶
func (b *MacBuilder) AppendValues(v []net.HardwareAddr, valid []bool)
func (*MacBuilder) NewMacArray ¶ added in v2.6.0
func (b *MacBuilder) NewMacArray() *MacArray
func (*MacBuilder) Unmarshal ¶
func (b *MacBuilder) Unmarshal(dec *json.Decoder) error
func (*MacBuilder) UnmarshalJSON ¶
func (b *MacBuilder) UnmarshalJSON(data []byte) error
func (*MacBuilder) UnmarshalOne ¶
func (b *MacBuilder) UnmarshalOne(dec *json.Decoder) error
func (*MacBuilder) UnsafeAppend ¶
func (b *MacBuilder) UnsafeAppend(v net.HardwareAddr)
type MacType ¶
type MacType struct {
arrow.ExtensionBase
}
MacType is a simple extension type that represents a BinaryType to be used for representing mac addresses.
func NewMacType ¶
func NewMacType() *MacType
NewMacType is a convenience function to create an instance of MacType with the correct storage type
func (*MacType) Deserialize ¶
Deserialize expects storageType to be FixedSizeBinaryType{ByteWidth: 16} and the data to be "mac-serialized" in order to correctly create a MacType for testing deserialize.
func (*MacType) ExtensionEquals ¶
func (u *MacType) ExtensionEquals(other arrow.ExtensionType) bool
ExtensionEquals returns true if both extensions have the same name
func (*MacType) ExtensionName ¶
func (*MacType) NewBuilder ¶
func (*MacType) NewBuilder(bldr *array.ExtensionBuilder) array.Builder
type UUIDArray ¶
type UUIDArray struct {
array.ExtensionArrayBase
}
UUIDArray is a simple array which is a FixedSizeBinary(16)
func (*UUIDArray) GetOneForMarshal ¶
func (*UUIDArray) MarshalJSON ¶
type UUIDBuilder ¶
type UUIDBuilder struct {
*array.ExtensionBuilder
}
func NewUUIDBuilder ¶
func NewUUIDBuilder(builder *array.ExtensionBuilder) *UUIDBuilder
func (*UUIDBuilder) Append ¶
func (b *UUIDBuilder) Append(v uuid.UUID)
func (*UUIDBuilder) AppendValueFromString ¶ added in v2.0.1
func (b *UUIDBuilder) AppendValueFromString(s string) error
func (*UUIDBuilder) AppendValues ¶
func (b *UUIDBuilder) AppendValues(v []uuid.UUID, valid []bool)
func (*UUIDBuilder) NewUUIDArray ¶ added in v2.6.0
func (b *UUIDBuilder) NewUUIDArray() *UUIDArray
func (*UUIDBuilder) Unmarshal ¶
func (b *UUIDBuilder) Unmarshal(dec *json.Decoder) error
func (*UUIDBuilder) UnmarshalJSON ¶
func (b *UUIDBuilder) UnmarshalJSON(data []byte) error
func (*UUIDBuilder) UnmarshalOne ¶
func (b *UUIDBuilder) UnmarshalOne(dec *json.Decoder) error
func (*UUIDBuilder) UnsafeAppend ¶
func (b *UUIDBuilder) UnsafeAppend(v uuid.UUID)
type UUIDType ¶
type UUIDType struct {
arrow.ExtensionBase
}
UUIDType is a simple extension type that represents a FixedSizeBinary(16) to be used for representing UUIDs
func NewUUIDType ¶
func NewUUIDType() *UUIDType
NewUUIDType is a convenience function to create an instance of UUIDType with the correct storage type
func (*UUIDType) Deserialize ¶
Deserialize expects storageType to be FixedSizeBinaryType{ByteWidth: 16} and the data to be "uuid-serialized" in order to correctly create a UUIDType for testing deserialize.
func (*UUIDType) ExtensionEquals ¶
func (e *UUIDType) ExtensionEquals(other arrow.ExtensionType) bool
ExtensionEquals returns true if both extensions have the same name
func (*UUIDType) ExtensionName ¶
func (*UUIDType) MarshalJSON ¶
func (*UUIDType) NewBuilder ¶
func (*UUIDType) NewBuilder(bldr *array.ExtensionBuilder) array.Builder