org.apache.solr.handler.dataimport
Class DIHProperties

java.lang.Object
  extended by org.apache.solr.handler.dataimport.DIHProperties
Direct Known Subclasses:
SimplePropertiesWriter

public abstract class DIHProperties
extends Object

Implementations write out properties about the last data import for use by the next import. ex: to persist the last import timestamp so that future delta imports can know what needs to be updated.

WARNING: This API is experimental and might change in incompatible ways in the next release.

Constructor Summary
DIHProperties()
           
 
Method Summary
 Date getCurrentTimestamp()
           
abstract  void init(DataImporter dataImporter, Map<String,String> initParams)
           
abstract  boolean isWritable()
           
abstract  void persist(Map<String,Object> props)
           
abstract  Map<String,Object> readIndexerProperties()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DIHProperties

public DIHProperties()
Method Detail

init

public abstract void init(DataImporter dataImporter,
                          Map<String,String> initParams)

isWritable

public abstract boolean isWritable()

persist

public abstract void persist(Map<String,Object> props)

readIndexerProperties

public abstract Map<String,Object> readIndexerProperties()

getCurrentTimestamp

public Date getCurrentTimestamp()


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.