public class FixedRangeNumericalPartitioning extends SingleContextDocumentProcessor implements com.exalead.util.Checkable, java.io.Serializable
SingleContextDocumentProcessor.Transformer<T>
DocumentProcessor.FromDataModel
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_RANGE_SIZE |
static java.lang.String |
DEFAULT_SEPARATOR |
java.lang.String |
outputContext |
long |
rangeSize |
java.lang.String |
separator |
inputContext
acceptCondition, dataModelClass, dataModelProperty, dataModelState, DEFAULT_DISABLED, disabled, fromDataModel, name
Constructor and Description |
---|
FixedRangeNumericalPartitioning() |
FixedRangeNumericalPartitioning(FixedRangeNumericalPartitioning o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(DocumentProcessor.Transformer<T> transformer,
T[] t) |
<T> T |
accept(SingleContextDocumentProcessor.Transformer<T> transformer,
T[] t) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this FixedRangeNumericalPartitioning.
|
static FixedRangeNumericalPartitioning |
fromString(java.lang.String s)
String representation of this FixedRangeNumericalPartitioning.
|
java.lang.String |
getOutputContext()
The ContextName used for newly created chunks.
|
long |
getRangeSize()
The size of the range to consider.
|
java.lang.String |
getSeparator()
The range separator.
|
FixedRangeNumericalPartitioning |
makeCopy()
Creates and returns a deep copy of this FixedRangeNumericalPartitioning.
|
static FixedRangeNumericalPartitioning |
readFrom(java.io.InputStream is)
Read this FixedRangeNumericalPartitioning from an XML fragment.
|
void |
setOutputContext(java.lang.String outputContext)
The ContextName used for newly created chunks.
|
void |
setRangeSize(long rangeSize)
The size of the range to consider.
|
void |
setSeparator(java.lang.String separator)
The range separator.
|
java.lang.String |
toString()
String representation of this FixedRangeNumericalPartitioning.
|
FixedRangeNumericalPartitioning |
withAcceptCondition(AcceptCondition acceptCondition) |
FixedRangeNumericalPartitioning |
withDataModelClass(java.lang.String dataModelClass) |
FixedRangeNumericalPartitioning |
withDataModelProperty(java.lang.String dataModelProperty) |
FixedRangeNumericalPartitioning |
withDataModelState(java.lang.String dataModelState) |
FixedRangeNumericalPartitioning |
withDisabled(boolean disabled) |
FixedRangeNumericalPartitioning |
withDisabled(java.lang.Boolean disabled) |
FixedRangeNumericalPartitioning |
withFromDataModel(DocumentProcessor fromDataModel) |
FixedRangeNumericalPartitioning |
withInputContext(java.lang.String inputContext) |
FixedRangeNumericalPartitioning |
withName(java.lang.String name) |
FixedRangeNumericalPartitioning |
withOutputContext(java.lang.String outputContext) |
FixedRangeNumericalPartitioning |
withRangeSize(long rangeSize) |
FixedRangeNumericalPartitioning |
withRangeSize(java.lang.Long rangeSize) |
FixedRangeNumericalPartitioning |
withSeparator(java.lang.String separator) |
void |
writeTo(java.io.OutputStream os)
Write this FixedRangeNumericalPartitioning as an XML fragment
|
getInputContext, setInputContext
getAcceptCondition, getDataModelClass, getDataModelProperty, getDataModelState, getFromDataModel, getName, isDisabled, setAcceptCondition, setDataModelClass, setDataModelProperty, setDataModelState, setDisabled, setFromDataModel, setName
public java.lang.String outputContext
public java.lang.String separator
public static final java.lang.String DEFAULT_SEPARATOR
public long rangeSize
public static final long DEFAULT_RANGE_SIZE
public FixedRangeNumericalPartitioning()
public FixedRangeNumericalPartitioning(FixedRangeNumericalPartitioning o)
public FixedRangeNumericalPartitioning withInputContext(java.lang.String inputContext)
withInputContext
in class SingleContextDocumentProcessor
public FixedRangeNumericalPartitioning withAcceptCondition(AcceptCondition acceptCondition)
withAcceptCondition
in class SingleContextDocumentProcessor
public FixedRangeNumericalPartitioning withName(java.lang.String name)
withName
in class SingleContextDocumentProcessor
public FixedRangeNumericalPartitioning withDataModelState(java.lang.String dataModelState)
withDataModelState
in class SingleContextDocumentProcessor
public FixedRangeNumericalPartitioning withFromDataModel(DocumentProcessor fromDataModel)
withFromDataModel
in class SingleContextDocumentProcessor
public FixedRangeNumericalPartitioning withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class SingleContextDocumentProcessor
public FixedRangeNumericalPartitioning withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class SingleContextDocumentProcessor
public FixedRangeNumericalPartitioning withDisabled(boolean disabled)
withDisabled
in class SingleContextDocumentProcessor
public FixedRangeNumericalPartitioning withDisabled(java.lang.Boolean disabled)
withDisabled
in class SingleContextDocumentProcessor
public void setOutputContext(java.lang.String outputContext)
public java.lang.String getOutputContext()
public FixedRangeNumericalPartitioning withOutputContext(java.lang.String outputContext)
public void setSeparator(java.lang.String separator)
public java.lang.String getSeparator()
public FixedRangeNumericalPartitioning withSeparator(java.lang.String separator)
public void setRangeSize(long rangeSize)
public long getRangeSize()
public FixedRangeNumericalPartitioning withRangeSize(long rangeSize)
public FixedRangeNumericalPartitioning withRangeSize(java.lang.Long rangeSize)
public FixedRangeNumericalPartitioning makeCopy()
makeCopy
in class SingleContextDocumentProcessor
public static FixedRangeNumericalPartitioning readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class SingleContextDocumentProcessor
javax.xml.bind.JAXBException
java.io.IOException
public static FixedRangeNumericalPartitioning fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class SingleContextDocumentProcessor
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class SingleContextDocumentProcessor
com.exalead.util.TypedException
public <T> T accept(SingleContextDocumentProcessor.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class SingleContextDocumentProcessor
com.exalead.util.TypedException
public <T> T accept(DocumentProcessor.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class DocumentProcessor
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.