Package com.adaptris.hpcc.arguments
Class JSONSprayFormat
- java.lang.Object
-
- com.adaptris.hpcc.arguments.SprayFormat
-
- com.adaptris.hpcc.arguments.JSONSprayFormat
-
- All Implemented Interfaces:
ComponentLifecycleExtension
public class JSONSprayFormat extends SprayFormat
SprayFormat implementation that allows the configuration of command specific arguments forformat=json
sprays.rowpath no "/" maxrecordsize no The maximum size of each record, in bytes. 8192 NOTE: Defaults are driven by dfuplus command them selves, they will not be set unless explicitly set.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adaptris.hpcc.arguments.SprayFormat
SprayFormat.ENCODING
-
-
Constructor Summary
Constructors Constructor Description JSONSprayFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCommandSpecificArguments(org.apache.commons.exec.CommandLine cmdLine)
java.lang.String
getFormat()
java.lang.Integer
getMaxRecordSize()
java.lang.String
getRowPath()
void
prepare()
void
setMaxRecordSize(java.lang.Integer maxRecordSize)
void
setRowPath(java.lang.String rowPath)
-
Methods inherited from class com.adaptris.hpcc.arguments.SprayFormat
addArguments
-
-
-
-
Method Detail
-
prepare
public void prepare() throws CoreException
- Throws:
CoreException
-
addCommandSpecificArguments
public void addCommandSpecificArguments(org.apache.commons.exec.CommandLine cmdLine)
-
getRowPath
public java.lang.String getRowPath()
-
setRowPath
public void setRowPath(java.lang.String rowPath)
-
getFormat
public java.lang.String getFormat()
-
setMaxRecordSize
public void setMaxRecordSize(java.lang.Integer maxRecordSize)
-
getMaxRecordSize
public java.lang.Integer getMaxRecordSize()
-
-