org.usergrid.persistence.cassandra
Class QueryProcessor.CursorCache

java.lang.Object
  extended by org.usergrid.persistence.cassandra.QueryProcessor.CursorCache
Enclosing class:
QueryProcessor

public static class QueryProcessor.CursorCache
extends Object

Internal cursor parsing

Author:
tnine

Method Summary
 String asString()
          Turn the cursor cache into a string
 ByteBuffer getCursorBytes(int sliceHash)
          Get the cursor by the hashcode of the slice
 void setNextCursor(int sliceHash, ByteBuffer newCursor)
          Set the cursor with the given hash and the new byte buffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setNextCursor

public void setNextCursor(int sliceHash,
                          ByteBuffer newCursor)
Set the cursor with the given hash and the new byte buffer

Parameters:
sliceHash -
newCursor -

getCursorBytes

public ByteBuffer getCursorBytes(int sliceHash)
Get the cursor by the hashcode of the slice

Parameters:
sliceHash -
Returns:

asString

public String asString()
Turn the cursor cache into a string

Returns:


Copyright © 2013. All Rights Reserved.