Documentation
¶
Index ¶
- func BuildArrayData(schema *schemapb.CollectionSchema, insertData *storage.InsertData) ([]arrow.Array, error)
- func ConstructCollectionSchemaByDataType(collectionName string, fieldName2DataType map[string]schemapb.DataType, ...) *schemapb.CollectionSchema
- func ConstructCollectionSchemaWithKeys(collectionName string, fieldName2DataType map[string]schemapb.DataType, ...) *schemapb.CollectionSchema
- func CreateInsertData(schema *schemapb.CollectionSchema, rows int) (*storage.InsertData, error)
- func CreateInsertDataRowsForJSON(schema *schemapb.CollectionSchema, insertData *storage.InsertData) ([]map[string]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildArrayData ¶
func BuildArrayData(schema *schemapb.CollectionSchema, insertData *storage.InsertData) ([]arrow.Array, error)
func CreateInsertData ¶
func CreateInsertData(schema *schemapb.CollectionSchema, rows int) (*storage.InsertData, error)
func CreateInsertDataRowsForJSON ¶
func CreateInsertDataRowsForJSON(schema *schemapb.CollectionSchema, insertData *storage.InsertData) ([]map[string]any, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.