Class DbArrayDirect<T>
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbArrayDirect<T>
- All Implemented Interfaces:
DbArray<T>,DbArrayBase,LongSizedDataStructure,ToStringWithElements,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.dbarrays.DbArray
DbArray.Indirect<T> -
Field Summary
FieldsFields inherited from interface com.illumon.iris.db.tables.dbarrays.DbArray
CHUNK_SIZEFields inherited from interface com.illumon.iris.db.tables.dbarrays.DbArrayBase
NULL_ELEMENT_STRINGFields inherited from interface com.illumon.util.format.ToStringWithElements
ARRAY_SIZE_WARNING, DEFAULT_ARRAY_SIZE_COPY, MAX_ARRAY_SIZE_COPY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanget(long i) Return a version of this DbArrayBase that is flattened out to only reference memory.getPrev(long offset) final inthashCode()longsize()The size of this data structure.subArray(long fromIndexInclusive, long toIndexExclusive) subArrayByPositions(long[] positions) T[]toArray()final StringtoString()final StringtoString(long maxElements) Unless explicitly overridden, this method will ignore the parameterMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.iris.db.tables.dbarrays.DbArrayBase
isEmptyMethods inherited from interface com.illumon.iris.db.util.LongSizedDataStructure
intSize, intSize
-
Field Details
-
ZERO_LENGTH_ARRAY
-
-
Constructor Details
-
DbArrayDirect
-
-
Method Details
-
get
-
subArray
- Specified by:
subArrayin interfaceDbArray<T>- Specified by:
subArrayin interfaceDbArrayBase
-
subArrayByPositions
- Specified by:
subArrayByPositionsin interfaceDbArray<T>- Specified by:
subArrayByPositionsin interfaceDbArrayBase
-
toArray
- Specified by:
toArrayin interfaceDbArray<T>- Specified by:
toArrayin interfaceDbArrayBase
-
size
public long size()Description copied from interface:LongSizedDataStructureThe size of this data structure.- Specified by:
sizein interfaceLongSizedDataStructure- Returns:
- The size
-
getComponentType
- Specified by:
getComponentTypein interfaceDbArray<T>- Specified by:
getComponentTypein interfaceDbArrayBase
-
getDirect
Description copied from interface:DbArrayBaseReturn a version of this DbArrayBase that is flattened out to only reference memory.- Specified by:
getDirectin interfaceDbArrayBase
-
getPrev
-
toDbArray
- Specified by:
toDbArrayin interfaceDbArrayBase
-
toString
-
toString
Description copied from interface:ToStringWithElementsUnless explicitly overridden, this method will ignore the parameter- Specified by:
toStringin interfaceToStringWithElements- Parameters:
maxElements- defines maximum number of elements to include from an array before truncating- Returns:
- a string representation of this object
-
equals
-
hashCode
public final int hashCode()
-