Class QueryResult<T extends BaseRecord>
java.lang.Object
org.apache.hadoop.hdfs.server.federation.store.records.QueryResult<T>
Encapsulates a state store query result that includes a set of records and a
time stamp for the result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the result of the query.longThe timetamp in driver time of this query.
-
Constructor Details
-
QueryResult
-
-
Method Details
-
getRecords
Get the result of the query.- Returns:
- List of records.
-
getTimestamp
public long getTimestamp()The timetamp in driver time of this query.- Returns:
- Timestamp in driver time.
-