Class SelectedPositions
java.lang.Object
io.trino.operator.project.SelectedPositions
-
Method Summary
Modifier and TypeMethodDescriptiondifference(SelectedPositions otherPositions) Returns a new SelectedPositions containing all the positions which are not present in `otherPositions`intint[]booleanisEmpty()booleanisList()static SelectedPositionspositionsList(int[] positions, int offset, int size) static SelectedPositionspositionsRange(int offset, int size) intsize()subRange(int start, int end) union(SelectedPositions otherPositions)
-
Method Details
-
positionsList
-
positionsRange
-
isList
public boolean isList() -
isEmpty
public boolean isEmpty() -
getPositions
public int[] getPositions() -
getOffset
public int getOffset() -
size
public int size() -
subRange
-
difference
Returns a new SelectedPositions containing all the positions which are not present in `otherPositions` -
union
-