public class CachedParquetStarTable extends ParquetStarTable
ParquetStarTable.ConfigCREATEDBY_INFO, NAME_KEY, REQUIRED_VOTMETAVERSION, UNSUPPORTED_INFO, VOTMETA_KEY, VOTMETA_NAMESPACE, VOTMETAVERSION_KEY| Constructor and Description | 
|---|
CachedParquetStarTable(IOSupplier<org.apache.parquet.hadoop.ParquetFileReader> pfrSupplier,
                      ParquetStarTable.Config config,
                      int nthread)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
The  
AbstractStarTable implementation of this method
 does nothing. | 
Object | 
getCell(long irow,
       int icol)
The  
AbstractStarTable implementation of this method
 throws an UnsupportedOperationException,
 since unless otherwise provided there is no random access. | 
Object[] | 
getRow(long irow)
The  
AbstractStarTable implementation of this method 
 constructs a row by repeated invocation of AbstractStarTable.getCell(long, int). | 
RowAccess | 
getRowAccess()
Returns an object which can provide random access to this
 table's data, if random access is implemented. 
 | 
RowSequence | 
getRowSequence()
Returns an object which can iterate over all the rows in the table
 sequentially. 
 | 
RowSplittable | 
getRowSplittable()
Returns a default splittable which relies on table random access
 if available, or otherwise provides only sequential access (no splits). 
 | 
boolean | 
isRandom()
The  
AbstractStarTable implementation of this method 
 returns false. | 
getColumnCount, getColumnInfo, getColumnReadStore, getExtraMetadataMap, getInputColumn, getParquetFileReader, getRowCount, getSchema, getVOTableMetadataText, setVOTableMetadataTextcheckedLongToInt, getColumnAuxDataInfos, getName, getParameters, getURL, setName, setParameters, setURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterByName, setParameterpublic CachedParquetStarTable(IOSupplier<org.apache.parquet.hadoop.ParquetFileReader> pfrSupplier, ParquetStarTable.Config config, int nthread) throws IOException
pfrSupplier - access to parquet data fileconfig - table reading configurationnthread - number of threads to use for concurrent column reads;
                   if <=0, a value is chosen based on the number
                   of available processorsIOExceptionpublic boolean isRandom()
AbstractStarTableAbstractStarTable implementation of this method 
 returns false.isRandom in interface StarTableisRandom in class AbstractStarTabletrue if table random access methods are availablepublic RowSequence getRowSequence() throws IOException
StarTablegetRowSequence in interface StarTablegetRowSequence in class AbstractStarTableIOException - if there is an error providing accesspublic RowAccess getRowAccess() throws IOException
StarTablegetRowAccess in interface StarTablegetRowAccess in class AbstractStarTableIOException - if there is an error setting up accesspublic RowSplittable getRowSplittable() throws IOException
AbstractStarTableIt is often possible to provide a better implementation than this.
getRowSplittable in interface StarTablegetRowSplittable in class AbstractStarTableTables.getDefaultRowSplittable(this)IOExceptionRowRunnerpublic Object getCell(long irow, int icol) throws IOException
AbstractStarTableAbstractStarTable implementation of this method
 throws an UnsupportedOperationException,
 since unless otherwise provided there is no random access.getCell in interface StarTablegetCell in class AbstractStarTableirow - the index of the cell's rowicol - the index of the cell's columnIOException - if there is an error reading the datapublic Object[] getRow(long irow) throws IOException
AbstractStarTableAbstractStarTable implementation of this method 
 constructs a row by repeated invocation of AbstractStarTable.getCell(long, int).getRow in interface StarTablegetRow in class AbstractStarTableirow - the index of the row to retrieveirowIOException - if there is an error reading the datapublic void close()
           throws IOException
AbstractStarTableAbstractStarTable implementation of this method
 does nothing.close in interface Closeableclose in interface AutoCloseableclose in interface StarTableclose in class AbstractStarTableIOExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.