Interface QueryCall.QueryCallFactory
-
- All Known Subinterfaces:
KafkaStreamsContainer
,QueryableKafkaStreams
- All Known Implementing Classes:
LocalKafkaStreamsContainer
public static interface QueryCall.QueryCallFactory
AQueryCallFactory
is used to create newQueryCall
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K,V>
QueryCall<K,V>newQueryCall(QueryRequest request)
Creates a newQueryCall
for specifiedQueryRequest
.
-
-
-
Method Detail
-
newQueryCall
<K,V> QueryCall<K,V> newQueryCall(QueryRequest request) throws InvalidQueryException
Creates a newQueryCall
for specifiedQueryRequest
.- Type Parameters:
K
- the expected type for record-key.V
- the expected type for record-value.- Parameters:
request
- the query.- Returns:
- a new
QueryCall
object. - Throws:
InvalidQueryException
- if the given request is invalid.
-
-