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 voidFrameBlock. appendColumn(Array col)Add a column of already allocated Array type.voidFrameBlock. 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 classABooleanArrayclassACompressedArray<T>A Compressed Array, in general does not allow us to set or modify the array.classBitSetArrayclassBooleanArrayclassCharArrayclassDDCArray<T>A dense dictionary version of an column arrayclassDoubleArrayclassFloatArrayclassHashLongArrayclassIntegerArrayclassLongArrayclassOptionalArray<T>classRaggedArray<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.classStringArrayMethods 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 booleanArray. equals(Array<T> other)booleanBitSetArray. equals(Array<Boolean> other)booleanBooleanArray. equals(Array<Boolean> other)booleanCharArray. equals(Array<Character> other)booleanDDCArray. equals(Array<T> other)booleanDoubleArray. equals(Array<Double> other)booleanFloatArray. equals(Array<Float> other)booleanHashLongArray. equals(Array<Object> other)booleanIntegerArray. equals(Array<Integer> other)booleanLongArray. equals(Array<Long> other)booleanOptionalArray. equals(Array<T> other)booleanRaggedArray. equals(Array<T> other)booleanStringArray. equals(Array<String> other)voidACompressedArray. set(int rl, int ru, Array<T> value)voidACompressedArray. set(int rl, int ru, Array<T> value, int rlSrc)voidArray. set(int rl, int ru, Array<T> value)Set range to given arrays valuevoidArray. 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.voidBitSetArray. set(int rl, int ru, Array<Boolean> value)voidBitSetArray. set(int rl, int ru, Array<Boolean> value, int rlSrc)voidBooleanArray. set(int rl, int ru, Array<Boolean> value)voidBooleanArray. set(int rl, int ru, Array<Boolean> value, int rlSrc)voidCharArray. set(int rl, int ru, Array<Character> value)voidCharArray. set(int rl, int ru, Array<Character> value, int rlSrc)voidDoubleArray. set(int rl, int ru, Array<Double> value)voidDoubleArray. set(int rl, int ru, Array<Double> value, int rlSrc)voidFloatArray. set(int rl, int ru, Array<Float> value)voidFloatArray. set(int rl, int ru, Array<Float> value, int rlSrc)voidHashLongArray. set(int rl, int ru, Array<Object> value)voidIntegerArray. set(int rl, int ru, Array<Integer> value)voidIntegerArray. set(int rl, int ru, Array<Integer> value, int rlSrc)voidLongArray. set(int rl, int ru, Array<Long> value)voidLongArray. set(int rl, int ru, Array<Long> value, int rlSrc)voidOptionalArray. set(int rl, int ru, Array<T> value)voidOptionalArray. set(int rl, int ru, Array<T> value, int rlSrc)voidRaggedArray. set(int rl, int ru, Array<T> value)voidRaggedArray. set(int rl, int ru, Array<T> value, int rlSrc)voidStringArray. set(int rl, int ru, Array<String> value)voidStringArray. set(int rl, int ru, Array<String> value, int rlSrc)<J> DDCArray<J>DDCArray. setDict(Array<J> dict)voidACompressedArray. setFromOtherType(int rl, int ru, Array<?> value)abstract voidArray. setFromOtherType(int rl, int ru, Array<?> value)Set range to given arrays valuevoidBitSetArray. setFromOtherType(int rl, int ru, Array<?> value)voidBooleanArray. setFromOtherType(int rl, int ru, Array<?> value)voidCharArray. setFromOtherType(int rl, int ru, Array<?> value)voidDoubleArray. setFromOtherType(int rl, int ru, Array<?> value)voidFloatArray. setFromOtherType(int rl, int ru, Array<?> value)voidHashLongArray. setFromOtherType(int rl, int ru, Array<?> value)voidIntegerArray. setFromOtherType(int rl, int ru, Array<?> value)voidLongArray. setFromOtherType(int rl, int ru, Array<?> value)voidOptionalArray. setFromOtherType(int rl, int ru, Array<?> value)voidRaggedArray. setFromOtherType(int rl, int ru, Array<?> value)voidStringArray. setFromOtherType(int rl, int ru, Array<?> value)voidACompressedArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)abstract voidArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)Set non default values in the range from the value array givenvoidArray. setFromOtherTypeNz(Array<?> value)Set non default values from the value array givenvoidBitSetArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidBooleanArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidCharArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidDoubleArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidFloatArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidHashLongArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidIntegerArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidLongArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidOptionalArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidRaggedArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidStringArray. setFromOtherTypeNz(int rl, int ru, Array<?> value)voidACompressedArray. setNz(int rl, int ru, Array<T> value)abstract voidArray. setNz(int rl, int ru, Array<T> value)Set non default values in the range from the value array givenvoidArray. setNz(Array<T> value)Set non default values from the value array givenvoidBitSetArray. setNz(int rl, int ru, Array<Boolean> value)voidBooleanArray. setNz(int rl, int ru, Array<Boolean> value)voidCharArray. setNz(int rl, int ru, Array<Character> value)voidDoubleArray. setNz(int rl, int ru, Array<Double> value)voidFloatArray. setNz(int rl, int ru, Array<Float> value)voidHashLongArray. setNz(int rl, int ru, Array<Object> value)voidIntegerArray. setNz(int rl, int ru, Array<Integer> value)voidLongArray. setNz(int rl, int ru, Array<Long> value)voidOptionalArray. setNz(int rl, int ru, Array<T> value)voidRaggedArray. setNz(int rl, int ru, Array<T> value)voidStringArray. 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)
-