Class ABooleanArray
java.lang.Object
org.apache.sysds.runtime.frame.data.columns.Array<Boolean>
org.apache.sysds.runtime.frame.data.columns.ABooleanArray
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
- Direct Known Subclasses:
BitSetArray,BooleanArray
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sysds.runtime.frame.data.columns.Array
Array.ArrayIterator -
Field Summary
Fields inherited from class org.apache.sysds.runtime.frame.data.columns.Array
ROW_PARALLELIZATION_THRESHOLD -
Method Summary
Modifier and TypeMethodDescriptionabstract ABooleanArrayclone()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 arraysabstract booleanbooleanabstract ABooleanArrayselect(boolean[] select, int nTrue) Slice out the true indices in the select input and return the sub array.abstract ABooleanArrayselect(int[] indices) Slice out the specified indices and return the sub array.abstract voidsetNullsFromString(int rl, int ru, Array<String> value) set boolean values in this array depending on null positions in the string array.abstract ABooleanArrayslice(int rl, int ru) Slice out the sub range and return new array with the specified type.Methods inherited from class org.apache.sysds.runtime.frame.data.columns.Array
analyzeValueType, analyzeValueType, append, append, append, baseMemoryCost, changeType, changeType, changeType, changeType, changeTypeWithNulls, changeTypeWithNulls, changeTypeWithNulls, containsNull, equals, equals, extractDouble, fill, fill, findEmpty, findEmptyInverse, get, get, getAsByteArray, getAsDouble, getAsNaNDouble, getCache, getExactSerializedSize, getFrameArrayType, getInMemorySize, getInternal, getIterator, getMinMaxLength, getNulls, getRecodeMap, getRecodeMap, getRecodeMap, getValueType, hashDouble, isEmpty, isNotEmpty, isShallowSerialize, minMax, minMax, reset, set, set, set, set, set, setCache, setFromOtherType, setFromOtherTypeNz, setFromOtherTypeNz, setM, setM, setNz, setNz, size, statistics, toStringMethods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.io.Writable
readFields, write
-
Method Details
-
isAllTrue
public abstract boolean isAllTrue() -
slice
Description copied from class:ArraySlice out the sub range and return new array with the specified type. If the conversion fails fallback to normal slice. -
clone
Description copied from class:ArrayOverwrite 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 arrays -
select
Description copied from class:ArraySlice out the specified indices and return the sub array. -
select
Description copied from class:ArraySlice out the true indices in the select input and return the sub array. -
possiblyContainsNaN
public boolean possiblyContainsNaN()- Specified by:
possiblyContainsNaNin classArray<Boolean>
-
setNullsFromString
set boolean values in this array depending on null positions in the string array.- Parameters:
rl- Inclusive lower boundru- Exclusive upper boundvalue- The string array to set from.
-