public class PagingState extends Object
Statement.setPagingState(PagingState)| Modifier and Type | Method and Description | 
|---|---|
static PagingState | 
fromBytes(byte[] pagingState)
Create a PagingState object from a byte array previously generated with  
toBytes(). | 
static PagingState | 
fromString(String string)
Create a PagingState object from a string previously generated with  
toString(). | 
byte[] | 
toBytes()
Return a representation of the paging state object as a byte array. 
 | 
String | 
toString()  | 
public static PagingState fromString(String string)
toString().string - the string value.PagingStateException - if the string does not have the correct format.public byte[] toBytes()
public static PagingState fromBytes(byte[] pagingState)
toBytes().pagingState - The byte array representation.PagingStateException - if the byte array does not have the correct format.Copyright © 2012–2015. All rights reserved.