Interface DbArray<T>
- All Superinterfaces:
DbArrayBase,LongSizedDataStructure,Serializable,ToStringWithElements
- All Known Implementing Classes:
DbArray.Indirect,DbArrayBooleanWrapper,DbArrayByteWrapper,DbArrayCharWrapper,DbArrayColumnWrapper,DbArrayDirect,DbArrayDoubleWrapper,DbArrayFloatWrapper,DbArrayImmutableColumnWrapper,DbArrayIntWrapper,DbArrayLongWrapper,DbArrayShortWrapper,DbArraySlice,DbDateTimeSsmSourceWrapper.ValueWrapper,DbPrevArrayColumnWrapper,DbSubArray,ObjectSegmentedSortedMultiset
public interface DbArray<T> extends DbArrayBase
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDbArray.Indirect<T>Base class for all "indirect" DbArray implementations. -
Field Summary
Fields Modifier and Type Field Description static intCHUNK_SIZEstatic longserialVersionUIDFields inherited from interface com.illumon.iris.gui.table.format.ToStringWithElements
ARRAY_SIZE_WARNING, DEFAULT_ARRAY_SIZE_COPY, MAX_ARRAY_SIZE_COPY -
Method Summary
Modifier and Type Method Description static StringdefaultValToString(Object val)static booleanequals(DbArray<?> aArray, Object b)Helper method for implementingObject.equals(Object).default voidfillChunk(WritableChunk<?> destChunk)Tget(long i)Class<T>getComponentType()TgetPrev(long offset)static inthashCode(DbArray<?> array)Helper method for implementingObject.hashCode().DbArray<T>subArray(long fromIndexInclusive, long toIndexExclusive)DbArray<T>subArrayByPositions(long[] positions)T[]toArray()default Chunk<Attributes.Values>toChunk()static StringtoString(DbArray<?> array)static StringtoString(DbArray<?> array, long maxElements)Helper method for implementingObject.toString().Methods inherited from interface com.illumon.iris.db.tables.dbarrays.DbArrayBase
getDirect, isEmpty, toDbArrayMethods inherited from interface com.illumon.iris.db.util.LongSizedDataStructure
intSize, intSize, size
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
- Constant Field Values
-
CHUNK_SIZE
static final int CHUNK_SIZE
-
-
Method Details
-
get
-
subArray
- Specified by:
subArrayin interfaceDbArrayBase
-
subArrayByPositions
- Specified by:
subArrayByPositionsin interfaceDbArrayBase
-
toArray
T[] toArray()- Specified by:
toArrayin interfaceDbArrayBase
-
getComponentType
- Specified by:
getComponentTypein interfaceDbArrayBase
-
getPrev
-
toChunk
- Specified by:
toChunkin interfaceDbArrayBase
-
fillChunk
- Specified by:
fillChunkin interfaceDbArrayBase
-
defaultValToString
-
toString
Helper method for implementingObject.toString().- Parameters:
array- The DbArray to convert to a String- Returns:
- The String representation of array
-
toString
-
equals
Helper method for implementingObject.equals(Object).- Parameters:
aArray- The LHS of the equality test (always a DbArray)b- The RHS of the equality test- Returns:
- Whether the two inputs are equal
-
hashCode
Helper method for implementingObject.hashCode(). Follows the pattern inArrays.hashCode(Object[]).- Parameters:
array- The DbArray to hash- Returns:
- The hash code
-