Package com.ocient.util
Interface Row
- All Superinterfaces:
com.ibm.asyncutil.util.Either<List<Object>,DataEndMarker>
- All Known Implementing Classes:
FlattenedRow
An interface that represents a row of data from a table. A row can either contain a list of
objects representing the data in the row, or it can be a special marker indicating the end of the
data stream.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BooleancontainsDEM(List<Row> rows) Predicate that returnstrueif the list of rows contains a DEMstatic Rowdefault booleanMethods inherited from interface com.ibm.asyncutil.util.Either
flatMap, fold, forEach, isLeft, isRight, left, map, map, right
-
Method Details
-
isDataEndMarker
default boolean isDataEndMarker() -
create
- Returns:
- A new
Rowinstance.
-
containsDEM
Predicate that returnstrueif the list of rows contains a DEM- Parameters:
rows- list of rows to test- Returns:
trueif the list of rows contains a DEM
-