public abstract class AbstractQuerySerializer<QueryT extends Query<QueryT,QueryResultT>,QueryResultT extends QueryResult<QueryT,QueryResultT>> extends Object implements QuerySerializer<QueryT,QueryResultT>
Constructor and Description |
---|
AbstractQuerySerializer() |
Modifier and Type | Method and Description |
---|---|
QueryResultT |
deserialize(SerializedQueryResult<QueryT> queryResult)
Deserialize a query result.
|
SerializedQuery<QueryT> |
serialize(QueryT query)
Serialize a query.
|
public final SerializedQuery<QueryT> serialize(QueryT query) throws QuerySerializationException
serialize
in interface QuerySerializer<QueryT extends Query<QueryT,QueryResultT>,QueryResultT extends QueryResult<QueryT,QueryResultT>>
QuerySerializationException
public final QueryResultT deserialize(SerializedQueryResult<QueryT> queryResult) throws QuerySerializationException
deserialize
in interface QuerySerializer<QueryT extends Query<QueryT,QueryResultT>,QueryResultT extends QueryResult<QueryT,QueryResultT>>
QuerySerializationException
Copyright © 2017 SAP SE. All rights reserved.