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
public abstract class ABooleanArray extends Array<Boolean>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.frame.data.columns.Array
Array.ArrayIterator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ABooleanArray
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 arraysabstract boolean
isAllTrue()
boolean
possiblyContainsNaN()
abstract ABooleanArray
select(boolean[] select, int nTrue)
Slice out the true indices in the select input and return the sub array.abstract ABooleanArray
select(int[] indices)
Slice out the specified indices and return the sub array.abstract void
setNullsFromString(int rl, int ru, Array<String> value)
set boolean values in this array depending on null positions in the string array.abstract ABooleanArray
slice(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, getValueType, hashDouble, isEmpty, isNotEmpty, isShallowSerialize, minMax, minMax, reset, set, set, set, set, set, setCache, setFromOtherType, setFromOtherTypeNz, setFromOtherTypeNz, setNz, setNz, size, statistics, toString
-
-
-
-
Method Detail
-
isAllTrue
public abstract boolean isAllTrue()
-
slice
public abstract ABooleanArray slice(int rl, int ru)
Description copied from class:Array
Slice out the sub range and return new array with the specified type. If the conversion fails fallback to normal slice.
-
clone
public abstract ABooleanArray clone()
Description copied from class:Array
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 arrays
-
select
public abstract ABooleanArray select(int[] indices)
Description copied from class:Array
Slice out the specified indices and return the sub array.
-
select
public abstract ABooleanArray select(boolean[] select, int nTrue)
Description copied from class:Array
Slice out the true indices in the select input and return the sub array.
-
possiblyContainsNaN
public boolean possiblyContainsNaN()
- Specified by:
possiblyContainsNaN
in classArray<Boolean>
-
-