public final class InfinispanConfiguration extends Object
InfinispanInputFormat and InfinispanOutputFormat.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_READ_BATCH_SIZE |
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_HOST
Host of the input cache
|
static String |
INPUT_REMOTE_CACHE_NAME
Name of the cache where map input data is located
|
static String |
INPUT_REMOTE_CACHE_PORT
Port of the input cache
|
static String |
OUTPUT_KEY_VALUE_CONVERTER
Optional output converter for writing to the cache after the reduce phase
|
static String |
OUTPUT_REMOTE_CACHE_HOST
Host of the output cache
|
static String |
OUTPUT_REMOTE_CACHE_NAME
Name of cache where output from the reducer will be stored
|
static String |
OUTPUT_REMOTE_CACHE_PORT
Port of the output cache
|
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 |
getInputRemoteCacheHost() |
int |
getInputRemoteCachePort() |
String |
getOutputCacheName() |
<K1,K2,V1,V2> |
getOutputConverter() |
String |
getOutputRemoteCacheHost() |
int |
getOutputRemoteCachePort() |
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 INPUT_FILTER_FACTORY
public static final String INPUT_REMOTE_CACHE_NAME
public static final String INPUT_REMOTE_CACHE_HOST
public static final String INPUT_REMOTE_CACHE_PORT
public static final String OUTPUT_REMOTE_CACHE_NAME
public static final String OUTPUT_REMOTE_CACHE_HOST
public static final String OUTPUT_REMOTE_CACHE_PORT
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 getInputRemoteCacheHost()
public int getInputRemoteCachePort()
public String getOutputRemoteCacheHost()
public int getOutputRemoteCachePort()
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 © 2015 JBoss, a division of Red Hat. All Rights Reserved.