Package com.stardog.stark.query
Interface BooleanQueryResult
-
- All Superinterfaces:
java.lang.AutoCloseable
,CloseableIterator<java.lang.Boolean>
,java.util.Iterator<java.lang.Boolean>
,QueryResult<java.lang.Boolean>
- All Known Implementing Classes:
IteratorAsBooleanQueryResult
public interface BooleanQueryResult extends QueryResult<java.lang.Boolean>
Result of a `boolean` query.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
- Implementation Notes:
- While results are represented as a
Stream<Boolean>
there is only a single result for a boolean query;true
orfalse
so only one result should ever be expected. UsebooleanValue()
to obtain the single result.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.complexible.common.base.CloseableIterator
CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.DelegatingCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
booleanValue()
Returns the single result and closes the result set
-