Uses of Class
org.apache.sysds.runtime.frame.data.columns.Array
Packages that use Array
Package
Description
-
Uses of Array in org.apache.sysds.runtime.compress.colgroup
Fields in org.apache.sysds.runtime.compress.colgroup declared as ArrayConstructors in org.apache.sysds.runtime.compress.colgroup with parameters of type ArrayModifierConstructorDescriptionColGroupUncompressedArray(Array<?> data, int id, IColIndex colIndexes) -
Uses of Array in org.apache.sysds.runtime.frame.data
Methods in org.apache.sysds.runtime.frame.data that return ArrayModifier and TypeMethodDescriptionArray<?>FrameBlock.getColumn(int c) Array<?>[]FrameBlock.getColumns()Methods in org.apache.sysds.runtime.frame.data with parameters of type ArrayModifier and TypeMethodDescriptionvoidFrameBlock.appendColumn(Array col) Add a column of already allocated Array type.voidFrameBlock.appendColumnChunk(int c, Array<?> chunk) Appends a chunk of data to the end of a specified column.voidvoidFrameBlock.setColumnChunk(int c, Array<?> chunk, int offset, int colSize) Sets a chunk of data to a specified column, starting at the specified offset.Constructors in org.apache.sysds.runtime.frame.data with parameters of type ArrayModifierConstructorDescriptionFrameBlock(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.columnsModifier and TypeClassDescriptionclassclassA Compressed Array, in general does not allow us to set or modify the array.classclassclassclassDDCArray<T>A dense dictionary version of an column arrayclassclassclassclassclassclassclassclassRaggedArray<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.classFields in org.apache.sysds.runtime.frame.data.columns declared as ArrayMethods in org.apache.sysds.runtime.frame.data.columns that return ArrayModifier and TypeMethodDescriptionstatic 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) 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>append arrays to each other, and cast to highest common type if different types.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.final Array<?>Array.changeType(Array<?> ret) Change type by moving this arrays value into the given ret array.final 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) BitSetArray.changeTypeCharacter(Array<Character> retA, int l, int u) BooleanArray.changeTypeCharacter(Array<Character> retA, int l, int u) CharArray.changeTypeCharacter(Array<Character> retA, int l, int u) DoubleArray.changeTypeCharacter(Array<Character> retA, int l, int u) FloatArray.changeTypeCharacter(Array<Character> retA, int l, int u) HashIntegerArray.changeTypeCharacter(Array<Character> retA, int l, int u) HashLongArray.changeTypeCharacter(Array<Character> retA, int l, int u) IntegerArray.changeTypeCharacter(Array<Character> retA, int l, int u) LongArray.changeTypeCharacter(Array<Character> retA, int l, int u) StringArray.changeTypeCharacter(Array<Character> retA, int l, int u) StringArray.changeTypeString(Array<String> retA, int l, int u) Array<?>Array.changeTypeWithNulls(Types.ValueType t) final Array<?>Array.changeTypeWithNulls(Array<?> ret) final Array<?>Array.changeTypeWithNulls(Array<?> ret, int l, int u) Array<?>DDCArray.changeTypeWithNulls(Types.ValueType t) Array<?>RaggedArray.changeTypeWithNulls(Types.ValueType 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 arraysCharArray.clone()DDCArray.clone()DoubleArray.clone()FloatArray.clone()HashIntegerArray.clone()HashLongArray.clone()IntegerArray.clone()LongArray.clone()OptionalArray.clone()RaggedArray.clone()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 Array<?>ArrayFactory.create(Types.ValueType vt, Object col) Wrap a fully populated raw typed column array into anArrayof the given value type.static <T> Array<T>ArrayFactory.create(T[] col) DDCArray.getDict()HashMapToInt.inverse(Types.ValueType t) static Array<?>Array.select(boolean[] select, int nTrue) Slice out the true indices in the select input and return the sub array.Array.select(int[] indices) Slice out the specified indices and return the sub array.CharArray.select(boolean[] select, int nTrue) CharArray.select(int[] indices) DDCArray.select(boolean[] select, int nTrue) DDCArray.select(int[] indices) DoubleArray.select(boolean[] select, int nTrue) DoubleArray.select(int[] indices) FloatArray.select(boolean[] select, int nTrue) FloatArray.select(int[] indices) HashIntegerArray.select(boolean[] select, int nTrue) HashIntegerArray.select(int[] indices) HashLongArray.select(boolean[] select, int nTrue) HashLongArray.select(int[] indices) IntegerArray.select(boolean[] select, int nTrue) IntegerArray.select(int[] indices) LongArray.select(boolean[] select, int nTrue) LongArray.select(int[] indices) OptionalArray.select(boolean[] select, int nTrue) OptionalArray.select(int[] indices) RaggedArray.select(boolean[] select, int nTrue) RaggedArray.select(int[] indices) StringArray.select(boolean[] select, int nTrue) StringArray.select(int[] indices) static <C> Array<C>Set the target array in the range of rl to ru with the src array.Array.slice(int rl, int ru) Slice out the sub range and return new array with the specified type.CharArray.slice(int rl, int ru) DDCArray.slice(int rl, int ru) DoubleArray.slice(int rl, int ru) FloatArray.slice(int rl, int ru) HashIntegerArray.slice(int rl, int ru) HashLongArray.slice(int rl, int ru) IntegerArray.slice(int rl, int ru) LongArray.slice(int rl, int ru) OptionalArray.slice(int rl, int ru) RaggedArray.slice(int rl, int ru) StringArray.slice(int rl, int ru) Methods in org.apache.sysds.runtime.frame.data.columns with parameters of type ArrayModifier and TypeMethodDescriptionAppend 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>append arrays to each other, and cast to highest common type if different types.static <T> OptionalArray<T>OptionalArray.appendOther(OptionalArray<T> that, Array<T> appended) final Array<?>Array.changeType(Array<?> ret) Change type by moving this arrays value into the given ret array.final Array<?>Array.changeType(Array<?> ret, int rl, int ru) Put the changed value types into the given ret array inside the range specified.BitSetArray.changeTypeCharacter(Array<Character> retA, int l, int u) BooleanArray.changeTypeCharacter(Array<Character> retA, int l, int u) CharArray.changeTypeCharacter(Array<Character> retA, int l, int u) DoubleArray.changeTypeCharacter(Array<Character> retA, int l, int u) FloatArray.changeTypeCharacter(Array<Character> retA, int l, int u) HashIntegerArray.changeTypeCharacter(Array<Character> retA, int l, int u) HashLongArray.changeTypeCharacter(Array<Character> retA, int l, int u) IntegerArray.changeTypeCharacter(Array<Character> retA, int l, int u) LongArray.changeTypeCharacter(Array<Character> retA, int l, int u) StringArray.changeTypeCharacter(Array<Character> retA, int l, int u) StringArray.changeTypeString(Array<String> retA, int l, int u) final Array<?>Array.changeTypeWithNulls(Array<?> ret) final 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 booleanEquals operation on arrays.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanfinal voidSet range to given arrays valuevoidSet range to given arrays value with an offset into other arraystatic <C> Array<C>Set the target array in the range of rl to ru with the src array.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid<J> DDCArray<J>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) voidHashIntegerArray.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 givenfinal voidArray.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) voidHashIntegerArray.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) abstract voidABooleanArray.setNullsFromString(int rl, int ru, Array<String> value) set boolean values in this array depending on null positions in the string array.voidBitSetArray.setNullsFromString(int rl, int ru, Array<String> value) voidBooleanArray.setNullsFromString(int rl, int ru, Array<String> value) voidabstract voidSet non default values in the range from the value array givenfinal voidSet non default values from the value array givenvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidConstructors in org.apache.sysds.runtime.frame.data.columns with parameters of type ArrayModifierConstructorDescriptionArrayWrapper(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 ArrayMethods in org.apache.sysds.runtime.frame.data.lib with parameters of type Array -
Uses of Array in org.apache.sysds.runtime.util
Methods in org.apache.sysds.runtime.util that return ArrayModifier and TypeMethodDescriptionstatic Array<?>Py4jConverterUtils.convert(byte[] data, int numElements, Types.ValueType valueType) static Array<?>[]Py4jConverterUtils.convertFused(byte[] data, int numElements, Types.ValueType[] valueTypes) static Array<?>UnixPipeUtils.readFrameColumnFromPipe(BufferedInputStream in, int id, int rows, int totalBytes, int batchSize, Types.ValueType type) Methods in org.apache.sysds.runtime.util with parameters of type ArrayModifier and TypeMethodDescriptionstatic longUnixPipeUtils.writeFrameColumnToPipe(BufferedOutputStream out, int id, int batchSize, Array<?> array, Types.ValueType type) Symmetric with readFrameColumnFromPipe — writes FrameBlock column data to pipe.