public class BagOperationUtil extends Object
Modifier and Type | Field and Description |
---|---|
static KeyNameMapperImpl |
DEFAULT_DOC_ID_MAPPER |
Constructor and Description |
---|
BagOperationUtil() |
Modifier and Type | Method and Description |
---|---|
static Set<Key> |
createEntityKeys(SimpleEntity entity,
Index index) |
static void |
doIndexInsert(Set<Key> keys,
Index index) |
static Key |
entityToKey(SimpleEntity entity) |
static Key |
recordToKey(RecordResult recordResult) |
static SimpleEntity |
toEntity(InputStream stream) |
static ClonableDataStream |
toStream(SimpleEntity entity) |
public static KeyNameMapperImpl DEFAULT_DOC_ID_MAPPER
public static ClonableDataStream toStream(SimpleEntity entity) throws JasDBStorageException
JasDBStorageException
public static SimpleEntity toEntity(InputStream stream) throws JasDBStorageException
JasDBStorageException
public static Set<Key> createEntityKeys(SimpleEntity entity, Index index) throws JasDBStorageException
JasDBStorageException
public static void doIndexInsert(Set<Key> keys, Index index) throws JasDBStorageException
JasDBStorageException
public static Key recordToKey(RecordResult recordResult)
public static Key entityToKey(SimpleEntity entity) throws JasDBStorageException
JasDBStorageException
Copyright © 2015. All rights reserved.