Uses of Class
org.apache.sysds.runtime.frame.data.columns.Array
-
Packages that use Array Package Description org.apache.sysds.runtime.frame.data org.apache.sysds.runtime.frame.data.columns org.apache.sysds.runtime.frame.data.lib -
-
Uses of Array in org.apache.sysds.runtime.frame.data
Methods in org.apache.sysds.runtime.frame.data that return Array Modifier and Type Method Description Array<?>
FrameBlock. getColumn(int c)
Array<?>[]
FrameBlock. getColumns()
Methods in org.apache.sysds.runtime.frame.data with parameters of type Array Modifier and Type Method Description void
FrameBlock. appendColumn(Array col)
Add a column of already allocated Array type.void
FrameBlock. setColumn(int c, Array<?> column)
Constructors in org.apache.sysds.runtime.frame.data with parameters of type Array Constructor Description FrameBlock(Types.ValueType[] schema, String[] colNames, ColumnMetadata[] meta, Array<?>[] data)
FrameBlock(Array<?>[] data)
Create a FrameBlock containing columns of the specified arraysFrameBlock(Array<?>[] data, String[] colnames)
Create a FrameBlock containing columns of the specified arrays and names -
Uses of Array in org.apache.sysds.runtime.frame.data.columns
Subclasses of Array in org.apache.sysds.runtime.frame.data.columns Modifier and Type Class Description class
ABooleanArray
class
ACompressedArray<T>
A Compressed Array, in general does not allow us to set or modify the array.class
BitSetArray
class
BooleanArray
class
CharArray
class
DDCArray<T>
A dense dictionary version of an column arrayclass
DoubleArray
class
FloatArray
class
HashLongArray
class
IntegerArray
class
LongArray
class
OptionalArray<T>
class
RaggedArray<T>
A Ragged array for a single column contains a smaller array, only containing the values of the top most part of the This makes the allocation much better in cases where only the top n rows of a m row frame are used for the specific column.class
StringArray
Methods in org.apache.sysds.runtime.frame.data.columns that return Array Modifier and Type Method Description static Array<?>
ArrayFactory. allocate(Types.ValueType v, int nRow)
static Array<?>
ArrayFactory. allocate(Types.ValueType v, int nRow, String val)
static Array<?>
ArrayFactory. allocateOptional(Types.ValueType v, int nRow)
abstract Array<T>
Array. append(Array<T> other)
Append other array, if the other array is fitting in current allocated size use that allocated size, otherwise allocate new array to combine the other with this.static <C> Array<C>
ArrayFactory. append(Array<?> a, Array<?> b)
append arrays to each other, and cast to highest common type if different types.Array<Boolean>
BitSetArray. append(Array<Boolean> other)
Array<Boolean>
BooleanArray. append(Array<Boolean> other)
Array<Character>
CharArray. append(Array<Character> other)
Array<T>
DDCArray. append(Array<T> other)
Array<Double>
DoubleArray. append(Array<Double> other)
Array<Float>
FloatArray. append(Array<Float> other)
Array<Object>
HashLongArray. append(Array<Object> other)
Array<Integer>
IntegerArray. append(Array<Integer> other)
Array<Long>
LongArray. append(Array<Long> other)
Array<T>
OptionalArray. append(Array<T> other)
Array<T>
RaggedArray. append(Array<T> other)
Array<String>
StringArray. append(Array<String> other)
Array<?>
Array. changeType(Types.ValueType t)
Change the allocated array to a different type.Array<?>
Array. changeType(Types.ValueType t, boolean containsNull)
Array<Character>
BitSetArray. changeTypeCharacter()
Array<Character>
BooleanArray. changeTypeCharacter()
Array<Character>
CharArray. changeTypeCharacter()
Array<Character>
DoubleArray. changeTypeCharacter()
Array<Character>
FloatArray. changeTypeCharacter()
Array<Character>
HashLongArray. changeTypeCharacter()
Array<Character>
IntegerArray. changeTypeCharacter()
Array<Character>
LongArray. changeTypeCharacter()
Array<Character>
StringArray. changeTypeCharacter()
Array<String>
StringArray. changeTypeString()
Array<?>
Array. changeTypeWithNulls(Types.ValueType t)
Array<?>
DDCArray. changeTypeWithNulls(Types.ValueType t)
Array<?>
OptionalArray. changeTypeWithNulls(Types.ValueType t)
abstract Array<T>
Array. clone()
Overwrite of the java internal clone function for arrays, return a clone of underlying data that is mutable, (not immutable data.) Immutable data is dependent on the individual allocated arraysArray<Character>
CharArray. clone()
Array<T>
DDCArray. clone()
Array<Double>
DoubleArray. clone()
Array<Float>
FloatArray. clone()
Array<Object>
HashLongArray. clone()
Array<Integer>
IntegerArray. clone()
Array<Long>
LongArray. clone()
Array<T>
OptionalArray. clone()
Array<T>
RaggedArray. clone()
Array<String>
StringArray. clone()
static <T> Array<T>
DDCArray. compressToDDC(Array<T> arr)
Try to compress array into DDC format.static <T> Array<?>
DDCArray. compressToDDC(Array<T> arr, Types.ValueType vt, boolean containsNull)
compress and change value.Array<T>
DDCArray. getDict()
static Array<?>
ArrayFactory. read(DataInput in, int nRow)
Array<?>
Array. safeChangeType(Types.ValueType t, boolean containsNull)
abstract Array<T>
Array. select(boolean[] select, int nTrue)
Slice out the true indices in the select input and return the sub array.abstract Array<T>
Array. select(int[] indices)
Slice out the specified indices and return the sub array.Array<Character>
CharArray. select(boolean[] select, int nTrue)
Array<Character>
CharArray. select(int[] indices)
Array<T>
DDCArray. select(boolean[] select, int nTrue)
Array<T>
DDCArray. select(int[] indices)
Array<Double>
DoubleArray. select(boolean[] select, int nTrue)
Array<Double>
DoubleArray. select(int[] indices)
Array<Float>
FloatArray. select(boolean[] select, int nTrue)
Array<Float>
FloatArray. select(int[] indices)
Array<Object>
HashLongArray. select(boolean[] select, int nTrue)
Array<Object>
HashLongArray. select(int[] indices)
Array<Integer>
IntegerArray. select(boolean[] select, int nTrue)
Array<Integer>
IntegerArray. select(int[] indices)
Array<Long>
LongArray. select(boolean[] select, int nTrue)
Array<Long>
LongArray. select(int[] indices)
Array<T>
OptionalArray. select(boolean[] select, int nTrue)
Array<T>
OptionalArray. select(int[] indices)
Array<T>
RaggedArray. select(boolean[] select, int nTrue)
Array<T>
RaggedArray. select(int[] indices)
Array<String>
StringArray. select(boolean[] select, int nTrue)
Array<String>
StringArray. select(int[] indices)
static <C> Array<C>
ArrayFactory. set(Array<?> target, Array<?> src, int rl, int ru, int rlen)
Set the target array in the range of rl to ru with the src array.abstract Array<T>
Array. slice(int rl, int ru)
Slice out the sub range and return new array with the specified type.Array<Character>
CharArray. slice(int rl, int ru)
Array<T>
DDCArray. slice(int rl, int ru)
Array<Double>
DoubleArray. slice(int rl, int ru)
Array<Float>
FloatArray. slice(int rl, int ru)
Array<Object>
HashLongArray. slice(int rl, int ru)
Array<Integer>
IntegerArray. slice(int rl, int ru)
Array<Long>
LongArray. slice(int rl, int ru)
Array<T>
OptionalArray. slice(int rl, int ru)
Array<T>
RaggedArray. slice(int rl, int ru)
Array<String>
StringArray. slice(int rl, int ru)
Methods in org.apache.sysds.runtime.frame.data.columns with parameters of type Array Modifier and Type Method Description abstract Array<T>
Array. append(Array<T> other)
Append other array, if the other array is fitting in current allocated size use that allocated size, otherwise allocate new array to combine the other with this.static <C> Array<C>
ArrayFactory. append(Array<?> a, Array<?> b)
append arrays to each other, and cast to highest common type if different types.Array<Boolean>
BitSetArray. append(Array<Boolean> other)
Array<Boolean>
BooleanArray. append(Array<Boolean> other)
Array<Character>
CharArray. append(Array<Character> other)
Array<T>
DDCArray. append(Array<T> other)
Array<Double>
DoubleArray. append(Array<Double> other)
Array<Float>
FloatArray. append(Array<Float> other)
Array<Object>
HashLongArray. append(Array<Object> other)
Array<Integer>
IntegerArray. append(Array<Integer> other)
Array<Long>
LongArray. append(Array<Long> other)
Array<T>
OptionalArray. append(Array<T> other)
Array<T>
RaggedArray. append(Array<T> other)
Array<String>
StringArray. append(Array<String> other)
static <T> OptionalArray<T>
OptionalArray. appendOther(OptionalArray<T> that, Array<T> appended)
static <T> Array<T>
DDCArray. compressToDDC(Array<T> arr)
Try to compress array into DDC format.static <T> Array<?>
DDCArray. compressToDDC(Array<T> arr, Types.ValueType vt, boolean containsNull)
compress and change value.abstract boolean
Array. equals(Array<T> other)
boolean
BitSetArray. equals(Array<Boolean> other)
boolean
BooleanArray. equals(Array<Boolean> other)
boolean
CharArray. equals(Array<Character> other)
boolean
DDCArray. equals(Array<T> other)
boolean
DoubleArray. equals(Array<Double> other)
boolean
FloatArray. equals(Array<Float> other)
boolean
HashLongArray. equals(Array<Object> other)
boolean
IntegerArray. equals(Array<Integer> other)
boolean
LongArray. equals(Array<Long> other)
boolean
OptionalArray. equals(Array<T> other)
boolean
RaggedArray. equals(Array<T> other)
boolean
StringArray. equals(Array<String> other)
void
ACompressedArray. set(int rl, int ru, Array<T> value)
void
ACompressedArray. set(int rl, int ru, Array<T> value, int rlSrc)
void
Array. set(int rl, int ru, Array<T> value)
Set range to given arrays valuevoid
Array. set(int rl, int ru, Array<T> value, int rlSrc)
Set range to given arrays value with an offset into other arraystatic <C> Array<C>
ArrayFactory. set(Array<?> target, Array<?> src, int rl, int ru, int rlen)
Set the target array in the range of rl to ru with the src array.void
BitSetArray. set(int rl, int ru, Array<Boolean> value)
void
BitSetArray. set(int rl, int ru, Array<Boolean> value, int rlSrc)
void
BooleanArray. set(int rl, int ru, Array<Boolean> value)
void
BooleanArray. set(int rl, int ru, Array<Boolean> value, int rlSrc)
void
CharArray. set(int rl, int ru, Array<Character> value)
void
CharArray. set(int rl, int ru, Array<Character> value, int rlSrc)
void
DoubleArray. set(int rl, int ru, Array<Double> value)
void
DoubleArray. set(int rl, int ru, Array<Double> value, int rlSrc)
void
FloatArray. set(int rl, int ru, Array<Float> value)
void
FloatArray. set(int rl, int ru, Array<Float> value, int rlSrc)
void
HashLongArray. set(int rl, int ru, Array<Object> value)
void
IntegerArray. set(int rl, int ru, Array<Integer> value)
void
IntegerArray. set(int rl, int ru, Array<Integer> value, int rlSrc)
void
LongArray. set(int rl, int ru, Array<Long> value)
void
LongArray. set(int rl, int ru, Array<Long> value, int rlSrc)
void
OptionalArray. set(int rl, int ru, Array<T> value)
void
OptionalArray. set(int rl, int ru, Array<T> value, int rlSrc)
void
RaggedArray. set(int rl, int ru, Array<T> value)
void
RaggedArray. set(int rl, int ru, Array<T> value, int rlSrc)
void
StringArray. set(int rl, int ru, Array<String> value)
void
StringArray. set(int rl, int ru, Array<String> value, int rlSrc)
<J> DDCArray<J>
DDCArray. setDict(Array<J> dict)
void
ACompressedArray. setFromOtherType(int rl, int ru, Array<?> value)
abstract void
Array. setFromOtherType(int rl, int ru, Array<?> value)
Set range to given arrays valuevoid
BitSetArray. setFromOtherType(int rl, int ru, Array<?> value)
void
BooleanArray. setFromOtherType(int rl, int ru, Array<?> value)
void
CharArray. setFromOtherType(int rl, int ru, Array<?> value)
void
DoubleArray. setFromOtherType(int rl, int ru, Array<?> value)
void
FloatArray. setFromOtherType(int rl, int ru, Array<?> value)
void
HashLongArray. setFromOtherType(int rl, int ru, Array<?> value)
void
IntegerArray. setFromOtherType(int rl, int ru, Array<?> value)
void
LongArray. setFromOtherType(int rl, int ru, Array<?> value)
void
OptionalArray. setFromOtherType(int rl, int ru, Array<?> value)
void
RaggedArray. setFromOtherType(int rl, int ru, Array<?> value)
void
StringArray. setFromOtherType(int rl, int ru, Array<?> value)
void
ACompressedArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
abstract void
Array. setFromOtherTypeNz(int rl, int ru, Array<?> value)
Set non default values in the range from the value array givenvoid
Array. setFromOtherTypeNz(Array<?> value)
Set non default values from the value array givenvoid
BitSetArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
BooleanArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
CharArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
DoubleArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
FloatArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
HashLongArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
IntegerArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
LongArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
OptionalArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
RaggedArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
StringArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)
void
ACompressedArray. setNz(int rl, int ru, Array<T> value)
abstract void
Array. setNz(int rl, int ru, Array<T> value)
Set non default values in the range from the value array givenvoid
Array. setNz(Array<T> value)
Set non default values from the value array givenvoid
BitSetArray. setNz(int rl, int ru, Array<Boolean> value)
void
BooleanArray. setNz(int rl, int ru, Array<Boolean> value)
void
CharArray. setNz(int rl, int ru, Array<Character> value)
void
DoubleArray. setNz(int rl, int ru, Array<Double> value)
void
FloatArray. setNz(int rl, int ru, Array<Float> value)
void
HashLongArray. setNz(int rl, int ru, Array<Object> value)
void
IntegerArray. setNz(int rl, int ru, Array<Integer> value)
void
LongArray. setNz(int rl, int ru, Array<Long> value)
void
OptionalArray. setNz(int rl, int ru, Array<T> value)
void
RaggedArray. setNz(int rl, int ru, Array<T> value)
void
StringArray. setNz(int rl, int ru, Array<String> value)
Constructors in org.apache.sysds.runtime.frame.data.columns with parameters of type Array Constructor Description DDCArray(Array<T> dict, AMapToData map)
OptionalArray(Array<T> a, boolean empty)
OptionalArray(Array<T> a, ABooleanArray n)
RaggedArray(Array<T> a, int m)
The allocation where, a's length is shorter than m, and we handle all accesses above len(a) as null. -
Uses of Array in org.apache.sysds.runtime.frame.data.lib
Methods in org.apache.sysds.runtime.frame.data.lib that return Array Modifier and Type Method Description static Array<?>[]
FrameUtil. add(Array<?>[] ar, Array<?> e)
Methods in org.apache.sysds.runtime.frame.data.lib with parameters of type Array Modifier and Type Method Description static Array<?>[]
FrameUtil. add(Array<?>[] ar, Array<?> e)
-