public class NScorableNScorableQueryImpl<T extends NScorable> extends Object implements NScorableQuery<T>
| Constructor and Description |
|---|
NScorableNScorableQueryImpl(NScorableContext context) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
all() |
NOptional<T> |
best() |
NOptional<NScoredValue<T>> |
bestResult() |
NScorableQuery<T> |
fromIterable(Iterable<T> source) |
NScorableQuery<T> |
fromIterableOfSuppliers(Iterable<Supplier<T>> source) |
NScorableQuery<T> |
fromIterator(Iterator<T> source) |
NScorableQuery<T> |
fromIteratorOfSuppliers(Iterator<Supplier<T>> source) |
NScorableQuery<T> |
fromSingleton(T source) |
NScorableQuery<T> |
fromSingletonSupplier(Supplier<T> source) |
NScorableQuery<T> |
fromStream(NStream<T> source) |
NScorableQuery<T> |
fromStream(Stream<T> source) |
NScorableQuery<T> |
fromStreamOfSuppliers(NStream<Supplier<T>> source) |
NScorableQuery<T> |
fromStreamOfSuppliers(Stream<Supplier<T>> source) |
List<NScoredValue<T>> |
getResults() |
NScorableNScorableQueryImpl<T> |
withContext(NScorableContext context) |
NScorableQuery<T> |
withEmptyMessage(Supplier<NMsg> source) |
NScorableQuery<T> |
withName(NMsg source) |
NScorableQuery<T> |
withName(Supplier<NMsg> source) |
public NScorableNScorableQueryImpl(NScorableContext context)
public NScorableNScorableQueryImpl<T> withContext(NScorableContext context)
withContext in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> fromStreamOfSuppliers(Stream<Supplier<T>> source)
fromStreamOfSuppliers in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> fromStream(Stream<T> source)
fromStream in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> fromSingleton(T source)
fromSingleton in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> fromSingletonSupplier(Supplier<T> source)
fromSingletonSupplier in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> fromStreamOfSuppliers(NStream<Supplier<T>> source)
fromStreamOfSuppliers in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> fromStream(NStream<T> source)
fromStream in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> fromIterable(Iterable<T> source)
fromIterable in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> fromIterator(Iterator<T> source)
fromIterator in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> fromIterableOfSuppliers(Iterable<Supplier<T>> source)
fromIterableOfSuppliers in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> fromIteratorOfSuppliers(Iterator<Supplier<T>> source)
fromIteratorOfSuppliers in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> withName(NMsg source)
withName in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> withName(Supplier<NMsg> source)
withName in interface NScorableQuery<T extends NScorable>public NScorableQuery<T> withEmptyMessage(Supplier<NMsg> source)
withEmptyMessage in interface NScorableQuery<T extends NScorable>public List<NScoredValue<T>> getResults()
public NOptional<NScoredValue<T>> bestResult()
bestResult in interface NScorableQuery<T extends NScorable>Copyright © 2026 vpc open source initiative. All rights reserved.