public class DateContentTarget extends StandardContentTarget implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
inputFormat |
addBreakBetweenChunks, addStartEnd, decreaseRankOnAnnotation, DEFAULT_ADD_BREAK_BETWEEN_CHUNKS, DEFAULT_ADD_START_END, DEFAULT_INDEX_EXACT, DEFAULT_INDEX_LOWERCASE, DEFAULT_INDEX_NORMALIZED, DEFAULT_INDEX_PREFIXES, DEFAULT_INDEX_SEPARATORS, DEFAULT_INDEX_SUBSTRINGS, DEFAULT_INDEX_SUFFIXES, DEFAULT_MAX_PREFIX_LENGTH, DEFAULT_MAX_SUFFIX_LENGTH, DEFAULT_PREFIX_WITH_CONTEXT, DEFAULT_PREFIXES_SCORE, DEFAULT_RETRIEVABLE, DEFAULT_SEARCHABLE, DEFAULT_SUBSTRINGS_SCORE, DEFAULT_SUFFIXES_SCORE, increaseRankOnAnnotation, indexExact, indexLowercase, indexNormalized, indexPrefixes, indexSeparators, indexSubstrings, indexSuffixes, maxPrefixLength, maxSuffixLength, prefixesScore, prefixWithContext, rankOnAnnotation, retrievable, retrieveField, searchable, substringsScore, suffixesScore
DEFAULT_RANK_BOOST, forcedRank, indexField, rankBoost
Constructor and Description |
---|
DateContentTarget() |
DateContentTarget(DateContentTarget o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this DateContentTarget.
|
static DateContentTarget |
fromString(java.lang.String s)
String representation of this DateContentTarget.
|
java.lang.String |
getInputFormat()
Specifies the input format of the date, in UNIX date format.
|
DateContentTarget |
makeCopy()
Creates and returns a deep copy of this DateContentTarget.
|
static DateContentTarget |
readFrom(java.io.InputStream is)
Read this DateContentTarget from an XML fragment.
|
void |
setInputFormat(java.lang.String inputFormat)
Specifies the input format of the date, in UNIX date format.
|
java.lang.String |
toString()
String representation of this DateContentTarget.
|
DateContentTarget |
withAddBreakBetweenChunks(boolean addBreakBetweenChunks) |
DateContentTarget |
withAddBreakBetweenChunks(java.lang.Boolean addBreakBetweenChunks) |
DateContentTarget |
withAddStartEnd(boolean addStartEnd) |
DateContentTarget |
withAddStartEnd(java.lang.Boolean addStartEnd) |
DateContentTarget |
withDecreaseRankOnAnnotation(java.util.Collection<DecreaseRankOnAnnotation> __values) |
DateContentTarget |
withDecreaseRankOnAnnotation(DecreaseRankOnAnnotation... __values)
List of DecreaseRankOnAnnotation
|
DateContentTarget |
withForcedRank(long forcedRank) |
DateContentTarget |
withForcedRank(java.lang.Long forcedRank) |
DateContentTarget |
withIncreaseRankOnAnnotation(java.util.Collection<IncreaseRankOnAnnotation> __values) |
DateContentTarget |
withIncreaseRankOnAnnotation(IncreaseRankOnAnnotation... __values)
List of IncreaseRankOnAnnotation
|
DateContentTarget |
withIndexExact(boolean indexExact) |
DateContentTarget |
withIndexExact(java.lang.Boolean indexExact) |
DateContentTarget |
withIndexField(java.lang.String indexField) |
DateContentTarget |
withIndexLowercase(boolean indexLowercase) |
DateContentTarget |
withIndexLowercase(java.lang.Boolean indexLowercase) |
DateContentTarget |
withIndexNormalized(boolean indexNormalized) |
DateContentTarget |
withIndexNormalized(java.lang.Boolean indexNormalized) |
DateContentTarget |
withIndexPrefixes(boolean indexPrefixes) |
DateContentTarget |
withIndexPrefixes(java.lang.Boolean indexPrefixes) |
DateContentTarget |
withIndexSeparators(boolean indexSeparators) |
DateContentTarget |
withIndexSeparators(java.lang.Boolean indexSeparators) |
DateContentTarget |
withIndexSubstrings(boolean indexSubstrings) |
DateContentTarget |
withIndexSubstrings(java.lang.Boolean indexSubstrings) |
DateContentTarget |
withIndexSuffixes(boolean indexSuffixes) |
DateContentTarget |
withIndexSuffixes(java.lang.Boolean indexSuffixes) |
DateContentTarget |
withInputFormat(java.lang.String inputFormat) |
DateContentTarget |
withMaxPrefixLength(int maxPrefixLength) |
DateContentTarget |
withMaxPrefixLength(java.lang.Integer maxPrefixLength) |
DateContentTarget |
withMaxSuffixLength(int maxSuffixLength) |
DateContentTarget |
withMaxSuffixLength(java.lang.Integer maxSuffixLength) |
DateContentTarget |
withPrefixesScore(int prefixesScore) |
DateContentTarget |
withPrefixesScore(java.lang.Integer prefixesScore) |
DateContentTarget |
withPrefixWithContext(boolean prefixWithContext) |
DateContentTarget |
withPrefixWithContext(java.lang.Boolean prefixWithContext) |
DateContentTarget |
withRankBoost(long rankBoost) |
DateContentTarget |
withRankBoost(java.lang.Long rankBoost) |
DateContentTarget |
withRankOnAnnotation(java.util.Collection<RankOnAnnotation> __values) |
DateContentTarget |
withRankOnAnnotation(RankOnAnnotation... __values)
List of RankOnAnnotation
|
DateContentTarget |
withRetrievable(boolean retrievable) |
DateContentTarget |
withRetrievable(java.lang.Boolean retrievable) |
DateContentTarget |
withRetrieveField(java.lang.String retrieveField) |
DateContentTarget |
withSearchable(boolean searchable) |
DateContentTarget |
withSearchable(java.lang.Boolean searchable) |
DateContentTarget |
withSubstringsScore(int substringsScore) |
DateContentTarget |
withSubstringsScore(java.lang.Integer substringsScore) |
DateContentTarget |
withSuffixesScore(int suffixesScore) |
DateContentTarget |
withSuffixesScore(java.lang.Integer suffixesScore) |
void |
writeTo(java.io.OutputStream os)
Write this DateContentTarget as an XML fragment
|
getDecreaseRankOnAnnotation, getIncreaseRankOnAnnotation, getMaxPrefixLength, getMaxSuffixLength, getPrefixesScore, getRankOnAnnotation, getRetrieveField, getSubstringsScore, getSuffixesScore, isAddBreakBetweenChunks, isAddStartEnd, isIndexExact, isIndexLowercase, isIndexNormalized, isIndexPrefixes, isIndexSeparators, isIndexSubstrings, isIndexSuffixes, isPrefixWithContext, isRetrievable, isSearchable, setAddBreakBetweenChunks, setAddStartEnd, setIndexExact, setIndexLowercase, setIndexNormalized, setIndexPrefixes, setIndexSeparators, setIndexSubstrings, setIndexSuffixes, setMaxPrefixLength, setMaxSuffixLength, setPrefixesScore, setPrefixWithContext, setRetrievable, setRetrieveField, setSearchable, setSubstringsScore, setSuffixesScore
getForcedRank, getIndexField, getRankBoost, setForcedRank, setIndexField, setRankBoost
public DateContentTarget()
public DateContentTarget(DateContentTarget o)
public DateContentTarget withRankOnAnnotation(RankOnAnnotation... __values)
withRankOnAnnotation
in class StandardContentTarget
public DateContentTarget withRankOnAnnotation(java.util.Collection<RankOnAnnotation> __values)
withRankOnAnnotation
in class StandardContentTarget
public DateContentTarget withIncreaseRankOnAnnotation(IncreaseRankOnAnnotation... __values)
withIncreaseRankOnAnnotation
in class StandardContentTarget
public DateContentTarget withIncreaseRankOnAnnotation(java.util.Collection<IncreaseRankOnAnnotation> __values)
withIncreaseRankOnAnnotation
in class StandardContentTarget
public DateContentTarget withDecreaseRankOnAnnotation(DecreaseRankOnAnnotation... __values)
withDecreaseRankOnAnnotation
in class StandardContentTarget
public DateContentTarget withDecreaseRankOnAnnotation(java.util.Collection<DecreaseRankOnAnnotation> __values)
withDecreaseRankOnAnnotation
in class StandardContentTarget
public DateContentTarget withPrefixWithContext(boolean prefixWithContext)
withPrefixWithContext
in class StandardContentTarget
public DateContentTarget withPrefixWithContext(java.lang.Boolean prefixWithContext)
withPrefixWithContext
in class StandardContentTarget
public DateContentTarget withAddStartEnd(boolean addStartEnd)
withAddStartEnd
in class StandardContentTarget
public DateContentTarget withAddStartEnd(java.lang.Boolean addStartEnd)
withAddStartEnd
in class StandardContentTarget
public DateContentTarget withIndexPrefixes(boolean indexPrefixes)
withIndexPrefixes
in class StandardContentTarget
public DateContentTarget withIndexPrefixes(java.lang.Boolean indexPrefixes)
withIndexPrefixes
in class StandardContentTarget
public DateContentTarget withPrefixesScore(int prefixesScore)
withPrefixesScore
in class StandardContentTarget
public DateContentTarget withPrefixesScore(java.lang.Integer prefixesScore)
withPrefixesScore
in class StandardContentTarget
public DateContentTarget withMaxPrefixLength(int maxPrefixLength)
withMaxPrefixLength
in class StandardContentTarget
public DateContentTarget withMaxPrefixLength(java.lang.Integer maxPrefixLength)
withMaxPrefixLength
in class StandardContentTarget
public DateContentTarget withIndexSuffixes(boolean indexSuffixes)
withIndexSuffixes
in class StandardContentTarget
public DateContentTarget withIndexSuffixes(java.lang.Boolean indexSuffixes)
withIndexSuffixes
in class StandardContentTarget
public DateContentTarget withSuffixesScore(int suffixesScore)
withSuffixesScore
in class StandardContentTarget
public DateContentTarget withSuffixesScore(java.lang.Integer suffixesScore)
withSuffixesScore
in class StandardContentTarget
public DateContentTarget withMaxSuffixLength(int maxSuffixLength)
withMaxSuffixLength
in class StandardContentTarget
public DateContentTarget withMaxSuffixLength(java.lang.Integer maxSuffixLength)
withMaxSuffixLength
in class StandardContentTarget
public DateContentTarget withIndexSubstrings(boolean indexSubstrings)
withIndexSubstrings
in class StandardContentTarget
public DateContentTarget withIndexSubstrings(java.lang.Boolean indexSubstrings)
withIndexSubstrings
in class StandardContentTarget
public DateContentTarget withSubstringsScore(int substringsScore)
withSubstringsScore
in class StandardContentTarget
public DateContentTarget withSubstringsScore(java.lang.Integer substringsScore)
withSubstringsScore
in class StandardContentTarget
public DateContentTarget withSearchable(boolean searchable)
withSearchable
in class StandardContentTarget
public DateContentTarget withSearchable(java.lang.Boolean searchable)
withSearchable
in class StandardContentTarget
public DateContentTarget withRetrievable(boolean retrievable)
withRetrievable
in class StandardContentTarget
public DateContentTarget withRetrievable(java.lang.Boolean retrievable)
withRetrievable
in class StandardContentTarget
public DateContentTarget withRetrieveField(java.lang.String retrieveField)
withRetrieveField
in class StandardContentTarget
public DateContentTarget withIndexNormalized(boolean indexNormalized)
withIndexNormalized
in class StandardContentTarget
public DateContentTarget withIndexNormalized(java.lang.Boolean indexNormalized)
withIndexNormalized
in class StandardContentTarget
public DateContentTarget withIndexLowercase(boolean indexLowercase)
withIndexLowercase
in class StandardContentTarget
public DateContentTarget withIndexLowercase(java.lang.Boolean indexLowercase)
withIndexLowercase
in class StandardContentTarget
public DateContentTarget withIndexExact(boolean indexExact)
withIndexExact
in class StandardContentTarget
public DateContentTarget withIndexExact(java.lang.Boolean indexExact)
withIndexExact
in class StandardContentTarget
public DateContentTarget withIndexSeparators(boolean indexSeparators)
withIndexSeparators
in class StandardContentTarget
public DateContentTarget withIndexSeparators(java.lang.Boolean indexSeparators)
withIndexSeparators
in class StandardContentTarget
public DateContentTarget withAddBreakBetweenChunks(boolean addBreakBetweenChunks)
withAddBreakBetweenChunks
in class StandardContentTarget
public DateContentTarget withAddBreakBetweenChunks(java.lang.Boolean addBreakBetweenChunks)
withAddBreakBetweenChunks
in class StandardContentTarget
public DateContentTarget withIndexField(java.lang.String indexField)
withIndexField
in class StandardContentTarget
public DateContentTarget withForcedRank(long forcedRank)
withForcedRank
in class StandardContentTarget
public DateContentTarget withForcedRank(java.lang.Long forcedRank)
withForcedRank
in class StandardContentTarget
public DateContentTarget withRankBoost(long rankBoost)
withRankBoost
in class StandardContentTarget
public DateContentTarget withRankBoost(java.lang.Long rankBoost)
withRankBoost
in class StandardContentTarget
public void setInputFormat(java.lang.String inputFormat)
public java.lang.String getInputFormat()
public DateContentTarget withInputFormat(java.lang.String inputFormat)
public DateContentTarget makeCopy()
makeCopy
in class StandardContentTarget
public static DateContentTarget 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 StandardContentTarget
javax.xml.bind.JAXBException
java.io.IOException
public static DateContentTarget 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 StandardContentTarget
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class StandardContentTarget
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.