public class VectorSchemaRoot extends Object implements AutoCloseable
Constructor and Description |
---|
VectorSchemaRoot(FieldVector parent) |
VectorSchemaRoot(List<Field> fields,
List<FieldVector> fieldVectors,
int rowCount) |
VectorSchemaRoot(Schema schema,
List<FieldVector> fieldVectors,
int rowCount) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
contentToTSVString() |
static VectorSchemaRoot |
create(Schema schema,
BufferAllocator allocator) |
List<FieldVector> |
getFieldVectors() |
int |
getRowCount() |
Schema |
getSchema() |
FieldVector |
getVector(String name) |
void |
setRowCount(int rowCount) |
public VectorSchemaRoot(FieldVector parent)
public VectorSchemaRoot(List<Field> fields, List<FieldVector> fieldVectors, int rowCount)
public VectorSchemaRoot(Schema schema, List<FieldVector> fieldVectors, int rowCount)
public static VectorSchemaRoot create(Schema schema, BufferAllocator allocator)
public List<FieldVector> getFieldVectors()
public FieldVector getVector(String name)
public Schema getSchema()
public int getRowCount()
public void setRowCount(int rowCount)
public void close()
close
in interface AutoCloseable
public String contentToTSVString()
Copyright © 2017 The Apache Software Foundation. All rights reserved.