public class EntityKeyValueIndex extends Object implements KeyValueIndex<org.calrissian.mango.domain.entity.Entity>
| Constructor and Description |
|---|
EntityKeyValueIndex(org.apache.accumulo.core.client.Connector connector,
String indexTable,
ShardBuilder<org.calrissian.mango.domain.entity.Entity> shardBuilder,
StoreConfig config,
org.calrissian.mango.types.TypeRegistry<String> typeRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
void |
indexKeyValues(Iterable<? extends org.calrissian.mango.domain.entity.Entity> items) |
void |
shutdown() |
public EntityKeyValueIndex(org.apache.accumulo.core.client.Connector connector,
String indexTable,
ShardBuilder<org.calrissian.mango.domain.entity.Entity> shardBuilder,
StoreConfig config,
org.calrissian.mango.types.TypeRegistry<String> typeRegistry)
throws org.apache.accumulo.core.client.TableNotFoundException
org.apache.accumulo.core.client.TableNotFoundExceptionpublic void indexKeyValues(Iterable<? extends org.calrissian.mango.domain.entity.Entity> items)
indexKeyValues in interface KeyValueIndex<org.calrissian.mango.domain.entity.Entity>public void commit()
throws Exception
commit in interface KeyValueIndex<org.calrissian.mango.domain.entity.Entity>Exceptionpublic void shutdown()
throws Exception
shutdown in interface KeyValueIndex<org.calrissian.mango.domain.entity.Entity>ExceptionCopyright © 2014 Calrissian. All Rights Reserved.