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
public abstract class AOffsetByte extends AOffset implements ISliceOffset
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.compress.colgroup.offset.AOffset
AOffset.OffsetSliceInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
Get the length of the underlying array.int
getOffsetToFirst()
Get the offset to the first indexint
getOffsetToLast()
Get the offset to the last value-
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.offset.AOffset
append, appendN, cacheIterator, constructSkipList, equals, equals, getExactSizeOnDisk, getInMemorySize, getIterator, getIterator, getOffsetIterator, getOffsetIterator, getSize, moveIndex, preAggregateDenseMap, preAggregateSparseMap, reverse, slice, toString, write
-
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.sysds.runtime.compress.colgroup.offset.ISliceOffset
slice
-
-
-
-
Method Detail
-
getOffsetToFirst
public final int getOffsetToFirst()
Description copied from class:AOffset
Get the offset to the first index- Specified by:
getOffsetToFirst
in classAOffset
- Returns:
- The first index offset
-
getOffsetToLast
public final int getOffsetToLast()
Description copied from class:AOffset
Get the offset to the last value- Specified by:
getOffsetToLast
in classAOffset
- Returns:
- The last values offset
-
getLength
public final int getLength()
Description copied from class:AOffset
Get the length of the underlying array. This does not reflect the number of contained elements, since some of the elements can be skips.
-
-