public final class InfinispanConfiguration extends Object
InfinispanInputFormat and InfinispanOutputFormat.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_READ_BATCH_SIZE |
static String |
DEFAULT_SERVER_LIST |
static int |
DEFAULT_WRITE_BATCH_SIZE |
static String |
INPUT_FILTER_FACTORY
Name of the filter factory deployed in the server to be used as a pre-filter in the mapper
|
static String |
INPUT_KEY_VALUE_CONVERTER
Optional input converter for reading from the cache before the map phase
|
static String |
INPUT_READ_BATCH_SIZE
Batch size to read entries from the cache
|
static String |
INPUT_REMOTE_CACHE_NAME
Name of the cache where map input data is located
|
static String |
INPUT_REMOTE_CACHE_SERVER_LIST
Initial list of Hot Rod servers to connect to input cache, specified in the following format:
host1:port1;host2:port2...
|
static String |
OUTPUT_KEY_VALUE_CONVERTER
Optional output converter for writing to the cache after the reduce phase
|
static String |
OUTPUT_REMOTE_CACHE_NAME
Name of cache where output from the reducer will be stored
|
static String |
OUTPUT_REMOTE_CACHE_SERVER_LIST
Initial list of Hot Rod servers to connect to output cache, specified in the following format:
host1:port1;host2:port2...
|
static String |
OUTPUT_WRITE_BATCH_SIZE
Batch size to write entries from the cache
|
static String |
SERIALIZATION_CLASSES
Comma separated list of classes whose serialization is to be handled by
JBossMarshallerSerialization |
static String |
SPLITTER_CLASS
Optional implementation of
InfinispanSplitter |
| Constructor and Description |
|---|
InfinispanConfiguration(org.apache.hadoop.conf.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
String |
getInputCacheName() |
<K1,K2,V1,V2> |
getInputConverter() |
String |
getInputFilterFactory() |
String |
getInputRemoteCacheServerList() |
String |
getOutputCacheName() |
<K1,K2,V1,V2> |
getOutputConverter() |
String |
getOutputRemoteCacheServerList() |
Integer |
getReadBatchSize() |
InfinispanSplitter |
getSplitter() |
Integer |
getWriteBatchSize() |
public static final int DEFAULT_READ_BATCH_SIZE
public static final int DEFAULT_WRITE_BATCH_SIZE
public static final String DEFAULT_SERVER_LIST
public static final String INPUT_FILTER_FACTORY
public static final String INPUT_REMOTE_CACHE_NAME
public static final String INPUT_REMOTE_CACHE_SERVER_LIST
public static final String OUTPUT_REMOTE_CACHE_NAME
public static final String OUTPUT_REMOTE_CACHE_SERVER_LIST
public static final String SERIALIZATION_CLASSES
JBossMarshallerSerializationpublic static final String INPUT_READ_BATCH_SIZE
public static final String OUTPUT_WRITE_BATCH_SIZE
public static final String INPUT_KEY_VALUE_CONVERTER
public static final String OUTPUT_KEY_VALUE_CONVERTER
public static final String SPLITTER_CLASS
InfinispanSplitterpublic InfinispanConfiguration(org.apache.hadoop.conf.Configuration configuration)
public String getInputCacheName()
public String getOutputCacheName()
public String getInputRemoteCacheServerList()
public String getOutputRemoteCacheServerList()
public String getInputFilterFactory()
public Integer getReadBatchSize()
public Integer getWriteBatchSize()
public InfinispanSplitter getSplitter() throws IOException
IOExceptionpublic <K1,K2,V1,V2> KeyValueConverter<K1,K2,V1,V2> getInputConverter() throws IOException
IOExceptionpublic <K1,K2,V1,V2> KeyValueConverter<K1,K2,V1,V2> getOutputConverter() throws IOException
IOExceptionCopyright © 2016 JBoss, a division of Red Hat. All Rights Reserved.