Interface DbFloatArray
- All Superinterfaces:
DbArrayBase
,LongSizedDataStructure
,Serializable
,ToStringWithElements
- All Known Implementing Classes:
DbFloatArray.Indirect
,DbFloatArrayColumnWrapper
,DbFloatArrayDirect
,DbFloatArrayImmutableColumnWrapper
,DbFloatArraySlice
,DbPrevFloatArrayColumnWrapper
,DbSubFloatArray
,FloatSegmentedSortedMultiset
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Base class for all "indirect" DbFloatArray implementations. -
Field Summary
FieldsFields inherited from interface com.illumon.iris.db.tables.dbarrays.DbArrayBase
NULL_ELEMENT_STRING
Fields inherited from interface com.illumon.util.format.ToStringWithElements
ARRAY_SIZE_WARNING, DEFAULT_ARRAY_SIZE_COPY, MAX_ARRAY_SIZE_COPY
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
equals
(DbFloatArray aArray, Object b) Helper method for implementingObject.equals(Object)
.default void
fillChunk
(WritableChunk<?> destChunk) static String
floatValToString
(Object val) float
get
(long i) default Class<?>
Return a version of this DbArrayBase that is flattened out to only reference memory.float
getPrev
(long i) static int
hashCode
(DbFloatArray array) Helper method for implementingObject.hashCode()
.static String
primitiveFloatValToString
(float val) long
size()
The size of this data structure.subArray
(long fromIndex, long toIndex) subArrayByPositions
(long[] positions) float[]
toArray()
default Chunk<Attributes.Values>
toChunk()
static String
toString
(DbFloatArray array) static String
toString
(DbFloatArray array, long maxElements) Helper method for implementingObject.toString()
.Methods inherited from interface com.illumon.iris.db.tables.dbarrays.DbArrayBase
isEmpty
Methods inherited from interface com.illumon.iris.db.util.LongSizedDataStructure
intSize, intSize
Methods inherited from interface com.illumon.util.format.ToStringWithElements
toString
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Method Details
-
get
float get(long i) -
subArray
- Specified by:
subArray
in interfaceDbArrayBase
-
subArrayByPositions
- Specified by:
subArrayByPositions
in interfaceDbArrayBase
-
toArray
float[] toArray()- Specified by:
toArray
in interfaceDbArrayBase
-
size
long size()Description copied from interface:LongSizedDataStructure
The size of this data structure.- Specified by:
size
in interfaceLongSizedDataStructure
- Returns:
- The size
-
toDbArray
- Specified by:
toDbArray
in interfaceDbArrayBase
-
getPrev
float getPrev(long i) -
getComponentType
- Specified by:
getComponentType
in interfaceDbArrayBase
-
getDirect
DbFloatArray getDirect()Return a version of this DbArrayBase that is flattened out to only reference memory.- Specified by:
getDirect
in interfaceDbArrayBase
-
toChunk
- Specified by:
toChunk
in interfaceDbArrayBase
-
fillChunk
- Specified by:
fillChunk
in interfaceDbArrayBase
-
floatValToString
-
primitiveFloatValToString
-
toString
Helper method for implementingObject.toString()
.- Parameters:
array
- The DbFloatArray 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 DbFloatArray)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 DbFloatArray to hash- Returns:
- The hash code
-