Package com.exasol.parquetio.data
Class ChunkIntervalImpl
- java.lang.Object
-
- com.exasol.parquetio.data.ChunkIntervalImpl
-
- All Implemented Interfaces:
ChunkInterval
public final class ChunkIntervalImpl extends Object implements ChunkInterval
-
-
Constructor Summary
Constructors Constructor Description ChunkIntervalImpl(long start, long end)Creates a new instance ofChunkInterval.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)longgetEndPosition()Gets the end position of this interval that is not inclusive.longgetStartPosition()Gets the start position of this interval.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ChunkIntervalImpl
public ChunkIntervalImpl(long start, long end)Creates a new instance ofChunkInterval.- Parameters:
start- a starting row group positionend- an ending row group position
-
-
Method Detail
-
getStartPosition
public long getStartPosition()
Description copied from interface:ChunkIntervalGets the start position of this interval.- Specified by:
getStartPositionin interfaceChunkInterval- Returns:
- a start position
-
getEndPosition
public long getEndPosition()
Description copied from interface:ChunkIntervalGets the end position of this interval that is not inclusive.- Specified by:
getEndPositionin interfaceChunkInterval- Returns:
- an end position
-
-