Class AOffsetByte
java.lang.Object
org.apache.sysds.runtime.compress.colgroup.offset.AOffset
org.apache.sysds.runtime.compress.colgroup.offset.AOffsetByte
- All Implemented Interfaces:
Serializable,ISliceOffset
- Direct Known Subclasses:
OffsetByte,OffsetByteNZ,OffsetByteUNZ
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sysds.runtime.compress.colgroup.offset.AOffset
AOffset.OffsetSliceInfo, AOffset.RemoveEmptyOffsetsTmp -
Method Summary
Modifier and TypeMethodDescriptionfinal intGet the length of the underlying array.final intGet the offset to the first indexfinal intGet the offset to the last valueMethods inherited from class org.apache.sysds.runtime.compress.colgroup.offset.AOffset
append, appendN, cacheIterator, clearSkipList, constructSkipList, equals, equals, getExactSizeOnDisk, getInMemorySize, getIterator, getIterator, getOffsetIterator, getSize, moveIndex, preAggregateDenseMap, preAggSparseMap, removeEmptyRows, reverse, slice, toString, verify, writeMethods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.sysds.runtime.compress.colgroup.offset.ISliceOffset
slice
-
Method Details
-
getOffsetToFirst
public final int getOffsetToFirst()Description copied from class:AOffsetGet the offset to the first index- Specified by:
getOffsetToFirstin classAOffset- Returns:
- The first index offset
-
getOffsetToLast
public final int getOffsetToLast()Description copied from class:AOffsetGet the offset to the last value- Specified by:
getOffsetToLastin classAOffset- Returns:
- The last values offset
-
getLength
public final int getLength()Description copied from class:AOffsetGet the length of the underlying array. This does not reflect the number of contained elements, since some of the elements can be skips.
-