public class ZKPropertiesWriter extends SimplePropertiesWriter
  A SolrCloud-friendly extension of SimplePropertiesWriter.  
  This implementation ignores the "directory" parameter, saving
  the properties file under /configs/[solrcloud collection name]/
configDir, DATE_FORMAT, dateFormat, DIRECTORY, filename, FILENAME, locale, LOCALE| Constructor and Description | 
|---|
| ZKPropertiesWriter() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | findDirectory(DataImporter dataImporter,
             Map<String,String> params) | 
| void | init(DataImporter dataImporter,
    Map<String,String> params) | 
| boolean | isWritable() | 
| void | persist(Map<String,Object> propObjs) | 
| Map<String,Object> | readIndexerProperties() | 
convertDateToString, convertStringToDate, mapToProperties, propertiesToMapgetCurrentTimestamppublic void init(DataImporter dataImporter, Map<String,String> params)
init in class SimplePropertiesWriterprotected void findDirectory(DataImporter dataImporter, Map<String,String> params)
findDirectory in class SimplePropertiesWriterpublic boolean isWritable()
isWritable in class SimplePropertiesWriterpublic void persist(Map<String,Object> propObjs)
persist in class SimplePropertiesWriterpublic Map<String,Object> readIndexerProperties()
readIndexerProperties in class SimplePropertiesWriterCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.