public class PhoenixReader extends Object implements AutoCloseable
Modifier and Type | Class and Description |
---|---|
protected static class |
PhoenixReader.ArrayBigintDefn |
protected static class |
PhoenixReader.ArrayBooleanDefn |
protected static class |
PhoenixReader.ArrayDefn |
protected static class |
PhoenixReader.ArrayDoubleDefn |
protected static class |
PhoenixReader.ArrayIntegerDefn |
protected static class |
PhoenixReader.ArraySmallintDefn |
protected static class |
PhoenixReader.ArrayTinyintDefn |
protected static class |
PhoenixReader.ArrayVarcharDefn |
protected static class |
PhoenixReader.ColumnDefn |
protected static class |
PhoenixReader.GenericDateDefn |
protected static class |
PhoenixReader.GenericDefn |
protected static class |
PhoenixReader.GenericTimeDefn |
protected static class |
PhoenixReader.GenericTimestampDefn |
Modifier and Type | Field and Description |
---|---|
protected static Map<Integer,TypeProtos.MinorType> |
COLUMN_TYPE_MAP |
Constructor and Description |
---|
PhoenixReader(ResultSetLoader loader,
PhoenixReader.ColumnDefn[] columns,
ResultSet results) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getBatchCount() |
long |
getRowCount() |
RowSetLoader |
getStorage() |
boolean |
processRow()
Fetch and process one row.
|
protected static final Map<Integer,TypeProtos.MinorType> COLUMN_TYPE_MAP
public PhoenixReader(ResultSetLoader loader, PhoenixReader.ColumnDefn[] columns, ResultSet results)
public RowSetLoader getStorage()
public long getRowCount()
public int getBatchCount()
public boolean processRow() throws SQLException
SQLException
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 1970 The Apache Software Foundation. All rights reserved.