示例#1
0
class FileSystemBlazingTableSchema(transport.schema(FileSystemBlazingTable)):
    name = transport.StringSegment()
    schemaType = transport.NumberSegment()
    csv = transport.SchemaSegment(CsvFileSchema)
    parquet = transport.SchemaSegment(ParquetFileSchema)
    files = transport.VectorStringSegment(transport.StringSegment)
    columnNames = transport.VectorStringSegment(transport.StringSegment)
示例#2
0
class CsvFileSchema(transport.schema(CsvFile)):
    path = transport.StringSegment()
    delimiter = transport.StringSegment()
    lineTerminator = transport.StringSegment()
    skipRows = transport.NumberSegment()
    names = transport.VectorStringSegment(transport.StringSegment)
    dtypes = transport.VectorSegment(transport.NumberSegment)
示例#3
0
class DDLCreateTableRequestSchema(transport.schema(DDLCreateTableRequest)):
    name = transport.StringSegment()
    columnNames = transport.VectorStringSegment(transport.StringSegment)
    columnTypes = transport.VectorStringSegment(transport.StringSegment)
    dbName = transport.StringSegment()
示例#4
0
class BlazingTableSchema(transport.schema(BlazingTable)):
    name = transport.StringSegment()
    columns = transport.VectorSchemaSegment(gdf_columnSchema)
    columnNames = transport.VectorStringSegment(transport.StringSegment)
示例#5
0
class GetResultResponseSchema(transport.schema(GetResultResponse)):
    metadata = transport.SchemaSegment(BlazingMetadataSchema)
    columns = transport.VectorGdfColumnSegment(gdf_columnSchema)
    columnNames = transport.VectorStringSegment(transport.StringSegment)