Documentation ¶
Overview ¶
Contains convenience methods for constructing core types.
Index ¶
- Constants
- func ExtractFromLiteral(literal *core.Literal) (interface{}, error)
- func MakeBinaryLiteral(v []byte) *core.Literal
- func MakeDefaultLiteralForType(typ *core.LiteralType) (*core.Literal, error)
- func MakeGenericLiteral(v *structpb.Struct) *core.Literal
- func MakeLiteral(v interface{}) (*core.Literal, error)
- func MakeLiteralForBlob(path storage.DataReference, isDir bool, format string) *core.Literal
- func MakeLiteralForCollection(v []interface{}) (*core.Literal, error)
- func MakeLiteralForMap(v map[string]interface{}) (*core.Literal, error)
- func MakeLiteralForSchema(path storage.DataReference, columns []*core.SchemaType_SchemaColumn) *core.Literal
- func MakeLiteralForSimpleType(t core.SimpleType, s string) (*core.Literal, error)
- func MakeLiteralForStructuredDataSet(path storage.DataReference, ...) *core.Literal
- func MakeLiteralForType(t *core.LiteralType, v interface{}) (*core.Literal, error)
- func MakeLiteralMap(v map[string]interface{}) (*core.LiteralMap, error)
- func MakePrimitive(v interface{}) (*core.Primitive, error)
- func MakePrimitiveForType(t core.SimpleType, s string) (*core.Primitive, error)
- func MakePrimitiveLiteral(v interface{}) (*core.Literal, error)
- func MustMakeDefaultLiteralForType(typ *core.LiteralType) *core.Literal
- func MustMakeLiteral(v interface{}) *core.Literal
- func MustMakePrimitive(v interface{}) *core.Primitive
- func MustMakePrimitiveLiteral(v interface{}) *core.Literal
Constants ¶
View Source
const FlyteUseOldDcFormat = "FLYTE_USE_OLD_DC_FORMAT"
View Source
const MESSAGEPACK = "msgpack"
Variables ¶
This section is empty.
Functions ¶
func ExtractFromLiteral ¶
func MakeBinaryLiteral ¶
func MakeDefaultLiteralForType ¶
func MakeDefaultLiteralForType(typ *core.LiteralType) (*core.Literal, error)
func MakeLiteral ¶
func MakeLiteralForBlob ¶
func MakeLiteralForSchema ¶
func MakeLiteralForSchema(path storage.DataReference, columns []*core.SchemaType_SchemaColumn) *core.Literal
func MakeLiteralForStructuredDataSet ¶
func MakeLiteralForStructuredDataSet(path storage.DataReference, columns []*core.StructuredDatasetType_DatasetColumn, format string) *core.Literal
func MakeLiteralForType ¶
func MakeLiteralForType(t *core.LiteralType, v interface{}) (*core.Literal, error)
func MakeLiteralMap ¶
func MakeLiteralMap(v map[string]interface{}) (*core.LiteralMap, error)
func MakePrimitive ¶
func MakePrimitiveForType ¶
func MakePrimitiveLiteral ¶
func MustMakeDefaultLiteralForType ¶
func MustMakeDefaultLiteralForType(typ *core.LiteralType) *core.Literal
func MustMakeLiteral ¶
func MustMakePrimitive ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.