public abstract class ParquetStarTable extends AbstractStarTable
| Modifier and Type | Field and Description |
|---|---|
static ValueInfo |
CREATEDBY_INFO
Parameter metadata for parquet creation info.
|
| Constructor and Description |
|---|
ParquetStarTable(IOSupplier<ParquetFileReader> pfrSupplier)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
Returns the number of columns in this table.
|
ColumnInfo |
getColumnInfo(int icol)
Returns the object describing the data in a given column.
|
ColumnReadStore |
getColumnReadStore(PageReadStore pageStore,
MessageType schema)
Gets a ColumnReadStore from a PageReadStore.
|
InputColumn<?> |
getInputColumn(int icol)
Returns the input column that can be used to read a given column
of this table.
|
ParquetFileReader |
getParquetFileReader()
Returns a reader for this table's underlying file.
|
long |
getRowCount()
Returns the number of rows in this table, if known.
|
MessageType |
getSchema()
Returns the schema of the the parquet file.
|
checkedLongToInt, close, getCell, getColumnAuxDataInfos, getName, getParameters, getRow, getRowAccess, getRowSequence, getRowSplittable, getURL, isRandom, setName, setParameters, setURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterByName, setParameterpublic static final ValueInfo CREATEDBY_INFO
public ParquetStarTable(IOSupplier<ParquetFileReader> pfrSupplier) throws java.io.IOException
pfrSupplier - access to parquet data filejava.io.IOExceptionpublic int getColumnCount()
StarTablegetColumnCount in interface StarTablegetColumnCount in class AbstractStarTablepublic long getRowCount()
StarTablegetRowCount in interface StarTablegetRowCount in class AbstractStarTablepublic ColumnInfo getColumnInfo(int icol)
StarTablegetColumnInfo in interface StarTablegetColumnInfo in class AbstractStarTableicol - the column for which header information is requiredpublic ParquetFileReader getParquetFileReader()
throws java.io.IOException
java.io.IOExceptionpublic MessageType getSchema()
public ColumnReadStore getColumnReadStore(PageReadStore pageStore,
MessageType schema)
pageStore - page storeschema - schema for required data; this may for instance
define only a subset of available columnspublic InputColumn<?> getInputColumn(int icol)
icol - column index