public interface ConvertMarker
Modifier and Type | Interface and Description |
---|---|
static interface |
ConvertMarker.Factory |
Modifier and Type | Method and Description |
---|---|
Attribute[] |
fromMarker(Object hk,
String marker) |
String |
toMarker(Map<String,Object> attributes,
boolean hasHashKey) |
String toMarker(Map<String,Object> attributes, boolean hasHashKey)
attributes
- are the full key/value attributes record fetched
from the DB. The Objectis a dynamo db "simple type". See http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/dynamodbv2/document/Item.html#asMap--
hasHashKey
- is true if this is a query (and thus we know
the hash key between subsequent paginated queries). For
full table scans this is false.Copyright © 2017. All rights reserved.