Class MemoryOrcDataSource
java.lang.Object
io.trino.orc.MemoryOrcDataSource
- All Implemented Interfaces:
OrcDataSource,Closeable,AutoCloseable
-
Constructor Details
-
MemoryOrcDataSource
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceOrcDataSource
-
getReadBytes
public long getReadBytes()- Specified by:
getReadBytesin interfaceOrcDataSource
-
getReadTimeNanos
public long getReadTimeNanos()- Specified by:
getReadTimeNanosin interfaceOrcDataSource
-
getEstimatedSize
public final long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceOrcDataSource
-
getRetainedSize
public long getRetainedSize()Description copied from interface:OrcDataSourceGets the memory size of this data source. This only includes memory used for the data source and not memory assigned to a specific OrcDataReader.- Specified by:
getRetainedSizein interfaceOrcDataSource
-
readTail
public io.airlift.slice.Slice readTail(int length) - Specified by:
readTailin interfaceOrcDataSource
-
readFully
public final io.airlift.slice.Slice readFully(long position, int length) - Specified by:
readFullyin interfaceOrcDataSource
-
readFully
- Specified by:
readFullyin interfaceOrcDataSource
-
toString
-