org.elasticsearch.hadoop.cfg
Class PropertiesSettings

java.lang.Object
  extended by org.elasticsearch.hadoop.cfg.Settings
      extended by org.elasticsearch.hadoop.cfg.PropertiesSettings

public class PropertiesSettings
extends Settings

Properties-based settings - used for testing or local environments (including Cascading-local).


Field Summary
static String INTERNAL_ES_TARGET_RESOURCE
           
static String INTERNAL_ES_TARGET_URI
           
protected  Properties props
           
 
Fields inherited from interface org.elasticsearch.hadoop.cfg.ConfigurationOptions
ES_BATCH_SIZE_BYTES, ES_BATCH_SIZE_BYTES_DEFAULT, ES_BATCH_SIZE_ENTRIES, ES_BATCH_SIZE_ENTRIES_DEFAULT, ES_BATCH_WRITE_REFRESH, ES_BATCH_WRITE_REFRESH_DEFAULT, ES_HOST, ES_HOST_DEFAULT, ES_HTTP_TIMEOUT, ES_HTTP_TIMEOUT_DEFAULT, ES_INDEX_AUTO_CREATE, ES_INDEX_AUTO_CREATE_DEFAULT, ES_INDEX_READ_MISSING_AS_EMPTY, ES_INDEX_READ_MISSING_AS_EMPTY_DEFAULT, ES_PORT, ES_PORT_DEFAULT, ES_RESOURCE, ES_SCROLL_KEEPALIVE, ES_SCROLL_KEEPALIVE_DEFAULT, ES_SCROLL_SIZE, ES_SCROLL_SIZE_DEFAULT, ES_SERIALIZATION_READER_CLASS, ES_SERIALIZATION_WRITER_CLASS
 
Constructor Summary
PropertiesSettings(Properties props)
           
 
Method Summary
 String getProperty(String name)
           
 void setProperty(String name, String value)
           
 
Methods inherited from class org.elasticsearch.hadoop.cfg.Settings
clean, cleanUri, getBatchRefreshAfterWrite, getBatchSizeInBytes, getBatchSizeInEntries, getHost, getHttpTimeout, getIndexAutoCreate, getIndexReadMissingAsEmpty, getPort, getProperty, getScrollKeepAlive, getScrollSize, getSerializerValueReaderClassName, getSerializerValueWriterClassName, getTargetResource, getTargetUri, merge, save, setHost, setPort, setResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

props

protected final Properties props

INTERNAL_ES_TARGET_RESOURCE

public static final String INTERNAL_ES_TARGET_RESOURCE
See Also:
Constant Field Values

INTERNAL_ES_TARGET_URI

public static final String INTERNAL_ES_TARGET_URI
See Also:
Constant Field Values
Constructor Detail

PropertiesSettings

public PropertiesSettings(Properties props)
Method Detail

getProperty

public String getProperty(String name)
Specified by:
getProperty in class Settings

setProperty

public void setProperty(String name,
                        String value)
Specified by:
setProperty in class Settings