Package com.adaptris.core.json.jdbc
Class InsertJsonObjects
- java.lang.Object
-
- com.adaptris.core.ServiceImp
-
- com.adaptris.core.jdbc.JdbcService
-
- com.adaptris.core.services.jdbc.JdbcMapInsert
-
- com.adaptris.core.json.jdbc.InsertJsonObject
-
- com.adaptris.core.json.jdbc.InsertJsonObjects
-
- All Implemented Interfaces:
AdaptrisComponent
,ComponentLifecycle
,ComponentLifecycleExtension
,ConnectedService
,MessageEventGenerator
,Service
,StateManagedComponent
- Direct Known Subclasses:
BatchInsertJsonArray
,InsertJsonArray
public abstract class InsertJsonObjects extends InsertJsonObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adaptris.core.services.jdbc.JdbcMapInsert
JdbcMapInsert.BasicType, JdbcMapInsert.InsertWrapper, JdbcMapInsert.StatementParam, JdbcMapInsert.StatementWrapper
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.ServiceImp
log
-
-
Constructor Summary
Constructors Constructor Description InsertJsonObjects()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonProvider.JsonStyle
getJsonStyle()
protected JsonProvider.JsonStyle
jsonStyle()
void
setJsonStyle(JsonProvider.JsonStyle p)
Specify how the payload is parsed to provide JSON objects.<T extends InsertJsonObjects>
TwithJsonStyle(JsonProvider.JsonStyle p)
-
Methods inherited from class com.adaptris.core.json.jdbc.InsertJsonObject
doService, getNullConverter, setNullConverter
-
Methods inherited from class com.adaptris.core.services.jdbc.JdbcMapInsert
addUpdatedMetadata, buildStatementParam, closeJdbcService, columnBookend, getColumnBookendCharacter, getFieldMappings, getRowsAffectedMetadataKey, getTable, handleInsert, initJdbcService, prepareService, setColumnBookendCharacter, setFieldMappings, setRowsAffectedMetadataKey, setTable, startService, stopService, table, withColumnBookend, withMappings, withRowsAffectedMetadataKey, withTable
-
Methods inherited from class com.adaptris.core.jdbc.JdbcService
applyTimeout, closeService, createStatement, getConnection, getConnection, getStatementTimeout, initService, prepare, prepareStatement, prepareStatement, setConnection, setStatementTimeout, start, stop
-
Methods inherited from class com.adaptris.core.ServiceImp
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setUniqueId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.AdaptrisComponent
getUniqueId
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init
-
Methods inherited from interface com.adaptris.core.MessageEventGenerator
createName, createQualifier, isTrackingEndpoint
-
Methods inherited from interface com.adaptris.core.Service
continueOnFailure, isBranching, setUniqueId
-
Methods inherited from interface com.adaptris.core.StateManagedComponent
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
-
-
-
-
Method Detail
-
withJsonStyle
public <T extends InsertJsonObjects> T withJsonStyle(JsonProvider.JsonStyle p)
-
setJsonStyle
public void setJsonStyle(JsonProvider.JsonStyle p)
Specify how the payload is parsed to provide JSON objects.- Parameters:
p
- the provider; default is JSON_ARRAY.
-
getJsonStyle
public JsonProvider.JsonStyle getJsonStyle()
-
jsonStyle
protected JsonProvider.JsonStyle jsonStyle()
-
-