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 org.apache.sysds.runtime.util -
-
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
HashIntegerArray
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
Fields in org.apache.sysds.runtime.frame.data.columns declared as Array Modifier and Type Field Description Array<?>
ArrayWrapper. _a
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, boolean optional)
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>
HashIntegerArray. append(Array<Object> 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)
abstract Array<?>
ACompressedArray. changeType(Types.ValueType t)
Array<?>
Array. changeType(Types.ValueType t)
Change the allocated array to a different type.Array<?>
Array. changeType(Types.ValueType t, boolean containsNull)
Change type taking into consideration if the target type must be able to contain Null.Array<?>
Array. changeType(Array<?> ret)
Change type by moving this arrays value into the given ret array.Array<?>
Array. changeType(Array<?> ret, int rl, int ru)
Put the changed value types into the given ret array inside the range specified.Array<?>
DDCArray. changeType(Types.ValueType t)
Array<?>
OptionalArray. changeType(Types.ValueType t)
Array<Character>
BitSetArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
BooleanArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
CharArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
DoubleArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
FloatArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
HashIntegerArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
HashLongArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
IntegerArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
LongArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
StringArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<String>
StringArray. changeTypeString(Array<String> retA, int l, int u)
Array<?>
Array. changeTypeWithNulls(Types.ValueType t)
Array<?>
Array. changeTypeWithNulls(Array<?> ret)
Array<?>
Array. changeTypeWithNulls(Array<?> ret, int l, int u)
Array<?>
DDCArray. changeTypeWithNulls(Types.ValueType t)
Array<?>
RaggedArray. 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>
HashIntegerArray. 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)
static <T> Array<T>
DDCArray. compressToDDC(Array<T> arr, int estimateUnique)
Try to compress array into DDC format.static <T> Array<T>
ArrayFactory. create(T[] col)
Array<T>
DDCArray. getDict()
static Array<?>
ArrayFactory. read(DataInput in, int nRow)
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>
HashIntegerArray. select(boolean[] select, int nTrue)
Array<Object>
HashIntegerArray. 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>
HashIntegerArray. 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>
HashIntegerArray. append(Array<Object> 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)
Array<?>
Array. changeType(Array<?> ret)
Change type by moving this arrays value into the given ret array.Array<?>
Array. changeType(Array<?> ret, int rl, int ru)
Put the changed value types into the given ret array inside the range specified.Array<Character>
BitSetArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
BooleanArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
CharArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
DoubleArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
FloatArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
HashIntegerArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
HashLongArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
IntegerArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
LongArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<Character>
StringArray. changeTypeCharacter(Array<Character> retA, int l, int u)
Array<String>
StringArray. changeTypeString(Array<String> retA, int l, int u)
Array<?>
Array. changeTypeWithNulls(Array<?> ret)
Array<?>
Array. changeTypeWithNulls(Array<?> ret, int l, int u)
static <T> Array<T>
DDCArray. compressToDDC(Array<T> arr)
static <T> Array<T>
DDCArray. compressToDDC(Array<T> arr, int estimateUnique)
Try to compress array into DDC format.abstract boolean
Array. equals(Array<T> other)
Equals operation on arrays.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
HashIntegerArray. equals(Array<Object> 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, int rlSrc)
abstract 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
DDCArray. set(int rl, int ru, Array<T> value)
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
HashIntegerArray. set(int rl, int ru, Array<Object> value)
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
HashIntegerArray. 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
HashIntegerArray. 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)
abstract void
ABooleanArray. setNullsFromString(int rl, int ru, Array<String> value)
set boolean values in this array depending on null positions in the string array.void
BitSetArray. setNullsFromString(int rl, int ru, Array<String> value)
void
BooleanArray. setNullsFromString(int rl, int ru, Array<String> 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
HashIntegerArray. setNz(int rl, int ru, Array<Object> 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 ArrayWrapper(Array<?> a)
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)
-
Uses of Array in org.apache.sysds.runtime.util
Methods in org.apache.sysds.runtime.util that return Array Modifier and Type Method Description static Array<?>
Py4jConverterUtils. convert(byte[] data, int numElements, Types.ValueType valueType)
-