abstract class AbstractRethinkDBProcessor extends AbstractProcessor
| Constructor and Description |
|---|
AbstractRethinkDBProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected com.rethinkdb.gen.ast.Table |
getRdbTable() |
protected com.rethinkdb.RethinkDB |
getRethinkDB()
Helper method to help testability
|
protected com.rethinkdb.net.Connection |
makeConnection() |
void |
onScheduled(ProcessContext context) |
onTrigger, onTriggergetControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getRelationships, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTruecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateprotected static final PropertyDescriptor CHARSET
public static final PropertyDescriptor DB_NAME
public static final PropertyDescriptor DB_HOST
public static final PropertyDescriptor DB_PORT
public static final PropertyDescriptor USERNAME
public static final PropertyDescriptor PASSWORD
public static final PropertyDescriptor TABLE_NAME
protected static final PropertyDescriptor MAX_DOCUMENTS_SIZE
public static final PropertyDescriptor RETHINKDB_DOCUMENT_ID
public static AllowableValue DURABILITY_SOFT
public static AllowableValue DURABILITY_HARD
protected static final PropertyDescriptor DURABILITY
static final Relationship REL_SUCCESS
static final Relationship REL_FAILURE
static final Relationship REL_NOT_FOUND
public static final String RESULT_ERROR_KEY
public static final String RESULT_DELETED_KEY
public static final String RESULT_GENERATED_KEYS_KEY
public static final String RESULT_INSERTED_KEY
public static final String RESULT_REPLACED_KEY
public static final String RESULT_SKIPPED_KEY
public static final String RESULT_UNCHANGED_KEY
public static final String RESULT_FIRST_ERROR_KEY
public static final String RESULT_WARNINGS_KEY
public static final String DURABILITY_OPTION_KEY
public static final String RETHINKDB_ERROR_MESSAGE
public static final String DOCUMENT_ID_EMPTY_MESSAGE
protected com.rethinkdb.net.Connection rethinkDbConnection
protected String databaseName
protected String tableName
protected String username
protected String password
protected String hostname
protected Integer port
protected long maxDocumentsSize
protected com.rethinkdb.RethinkDB getRethinkDB()
protected com.rethinkdb.gen.ast.Table getRdbTable()
@OnScheduled public void onScheduled(ProcessContext context)
protected com.rethinkdb.net.Connection makeConnection()
@OnStopped public void close()
Copyright © 2017 Apache NiFi Project. All rights reserved.