com.clusterpoint.api.request
Class CPSListLastRequest

java.lang.Object
  extended by com.clusterpoint.api.CPSRequest
      extended by com.clusterpoint.api.request.CPSListLastRetrieveFirstRequest
          extended by com.clusterpoint.api.request.CPSListLastRequest

public class CPSListLastRequest
extends CPSListLastRetrieveFirstRequest

The CPSListLastRequest class is a wrapper for the CPSListLastRetrieveFirstRequest class for list-last requests

See Also:
CPSListLastRetrieveFirstResponse

Field Summary
 
Fields inherited from class com.clusterpoint.api.CPSRequest
CPSREQUEST_TYPE_AUTO, CPSREQUEST_TYPE_CLUSTER, CPSREQUEST_TYPE_SINGLE
 
Constructor Summary
CPSListLastRequest()
          Constructs an instance of the CPSListLastRequest class.
CPSListLastRequest(int offset, int docs)
          Constructs an instance of the CPSListLastRequest class.
CPSListLastRequest(int offset, int docs, java.util.Map<java.lang.String,java.lang.String> list)
          Constructs an instance of the CPSListLastRequest class.
 
Method Summary
 
Methods inherited from class com.clusterpoint.api.request.CPSListLastRetrieveFirstRequest
setDocs, setList, setOffset
 
Methods inherited from class com.clusterpoint.api.CPSRequest
get_requestTypeString, getCommand, getRequestID, getRequestType, getRequestXml, setParam, setParam, setRequestID, setRequestType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPSListLastRequest

public CPSListLastRequest()
                   throws java.lang.Exception
Constructs an instance of the CPSListLastRequest class. Default parameters: offset = 0, docs = 10

Throws:
java.lang.Exception

CPSListLastRequest

public CPSListLastRequest(int offset,
                          int docs)
                   throws java.lang.Exception
Constructs an instance of the CPSListLastRequest class.

Parameters:
offset - offset of result set
docs - max number of docs to return
Throws:
java.lang.Exception

CPSListLastRequest

public CPSListLastRequest(int offset,
                          int docs,
                          java.util.Map<java.lang.String,java.lang.String> list)
                   throws java.lang.Exception
Constructs an instance of the CPSListLastRequest class.

Parameters:
offset - offset of result set
docs - max number of docs to return
list - map where key is xpath and value contains listing options (yes, no, snippet or highlight)
Throws:
java.lang.Exception