public class MapConsumer extends BaseConsumer<MapVector>
columnIndexInResultSet, currentIndex, vector
Constructor and Description |
---|
MapConsumer(MapVector vector,
int index)
Instantiate a MapConsumer.
|
Modifier and Type | Method and Description |
---|---|
void |
consume(ResultSet resultSet)
Consume a specific type value from
ResultSet and write it to vector. |
static MapConsumer |
createConsumer(MapVector mapVector,
int index,
boolean nullable)
Creates a consumer for
MapVector . |
close, resetValueVector
public MapConsumer(MapVector vector, int index)
public static MapConsumer createConsumer(MapVector mapVector, int index, boolean nullable)
MapVector
.public void consume(ResultSet resultSet) throws SQLException, IOException
JdbcConsumer
ResultSet
and write it to vector.SQLException
IOException
Copyright © 2023 The Apache Software Foundation. All rights reserved.