org.apache.ambari.view
Interface ReadRequest


public interface ReadRequest

Information passed to a read request.


Nested Class Summary
static interface ReadRequest.TemporalInfo
          Temporal query data.
 
Method Summary
 String getPredicate()
          Get the predicate.
 Set<String> getPropertyIds()
          Get the requested property ids.
 ReadRequest.TemporalInfo getTemporalInfo(String id)
          Get the temporal information for the given property id for this request, if any.
 

Method Detail

getPropertyIds

Set<String> getPropertyIds()
Get the requested property ids.

Returns:
the property ids

getPredicate

String getPredicate()
Get the predicate.

Returns:
the predicate; may be null

getTemporalInfo

ReadRequest.TemporalInfo getTemporalInfo(String id)
Get the temporal information for the given property id for this request, if any.

Parameters:
id - the property id
Returns:
the temporal information for the given property id; null if none exists


Copyright © 2015 Apache Software Foundation. All rights reserved.