public class WKBGeometryVector extends Object implements GeometryVector<org.locationtech.jts.geom.Geometry,org.apache.arrow.vector.VarBinaryVector>
| Modifier and Type | Field and Description |
|---|---|
static org.apache.arrow.vector.types.pojo.Field |
field |
factory| Constructor and Description |
|---|
WKBGeometryVector(String name,
org.apache.arrow.vector.complex.AbstractContainerVector container,
Map<String,String> metadata) |
WKBGeometryVector(String name,
org.apache.arrow.memory.BufferAllocator allocator,
Map<String,String> metadata) |
WKBGeometryVector(org.apache.arrow.vector.VarBinaryVector vector) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static org.apache.arrow.vector.types.pojo.FieldType |
createFieldType(Map<String,String> metadata) |
org.locationtech.jts.geom.Geometry |
get(int i) |
int |
getNullCount() |
int |
getValueCount() |
org.apache.arrow.vector.VarBinaryVector |
getVector() |
void |
set(int i,
org.locationtech.jts.geom.Geometry geom) |
void |
setValueCount(int count) |
void |
transfer(int fromIndex,
int toIndex,
GeometryVector<org.locationtech.jts.geom.Geometry,org.apache.arrow.vector.VarBinaryVector> to) |
public WKBGeometryVector(String name, org.apache.arrow.memory.BufferAllocator allocator, @Nullable Map<String,String> metadata)
public WKBGeometryVector(String name, org.apache.arrow.vector.complex.AbstractContainerVector container, @Nullable Map<String,String> metadata)
public WKBGeometryVector(org.apache.arrow.vector.VarBinaryVector vector)
public static org.apache.arrow.vector.types.pojo.FieldType createFieldType(Map<String,String> metadata)
public void set(int i,
org.locationtech.jts.geom.Geometry geom)
set in interface GeometryVector<org.locationtech.jts.geom.Geometry,org.apache.arrow.vector.VarBinaryVector>public org.locationtech.jts.geom.Geometry get(int i)
get in interface GeometryVector<org.locationtech.jts.geom.Geometry,org.apache.arrow.vector.VarBinaryVector>public org.apache.arrow.vector.VarBinaryVector getVector()
getVector in interface GeometryVector<org.locationtech.jts.geom.Geometry,org.apache.arrow.vector.VarBinaryVector>public void setValueCount(int count)
setValueCount in interface GeometryVector<org.locationtech.jts.geom.Geometry,org.apache.arrow.vector.VarBinaryVector>public int getValueCount()
getValueCount in interface GeometryVector<org.locationtech.jts.geom.Geometry,org.apache.arrow.vector.VarBinaryVector>public int getNullCount()
getNullCount in interface GeometryVector<org.locationtech.jts.geom.Geometry,org.apache.arrow.vector.VarBinaryVector>public void transfer(int fromIndex,
int toIndex,
GeometryVector<org.locationtech.jts.geom.Geometry,org.apache.arrow.vector.VarBinaryVector> to)
transfer in interface GeometryVector<org.locationtech.jts.geom.Geometry,org.apache.arrow.vector.VarBinaryVector>public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2013–2021. All rights reserved.