public class DIHConfiguration extends Object
Mapping for data-config.xml
Refer to http://wiki.apache.org/solr/DataImportHandler for more details.
This API is experimental and subject to change
Constructor and Description |
---|
DIHConfiguration(Element element,
DataImporter di,
List<Map<String,String>> functions,
Script script,
Map<String,Map<String,String>> dataSources,
PropertyWriter pw) |
Modifier and Type | Method and Description |
---|---|
Map<String,Map<String,String>> |
getDataSources() |
String |
getDeleteQuery() |
List<Entity> |
getEntities() |
List<Map<String,String>> |
getFunctions() |
String |
getOnError() |
String |
getOnImportEnd() |
String |
getOnImportStart() |
PropertyWriter |
getPropertyWriter() |
IndexSchema |
getSchema() |
SchemaField |
getSchemaField(String caseInsensitiveName) |
Script |
getScript() |
static boolean |
isSpecialCommand(String fld) |
public SchemaField getSchemaField(String caseInsensitiveName)
public String getDeleteQuery()
public String getOnImportStart()
public String getOnImportEnd()
public String getOnError()
public Script getScript()
public PropertyWriter getPropertyWriter()
public IndexSchema getSchema()
public static boolean isSpecialCommand(String fld)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.