public class IngestFieldValue extends Object implements Cloneable, Serializable, LocaleAware
IngestDocument.| Modifier and Type | Field and Description |
|---|---|
protected Serializable |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
IngestFieldValue() |
|
IngestFieldValue(Boolean value)
Construct a new IngestFieldValue with a
Boolean value. |
|
IngestFieldValue(ContentPointer value)
Construct a new IngestFieldValue with a
ContentPointer value. |
|
IngestFieldValue(Date value)
Construct a new IngestFieldValue with a
Date value. |
|
IngestFieldValue(Document value)
Construct a new IngestFieldValue with a
Document value. |
|
IngestFieldValue(Number value)
Construct a new IngestFieldValue with a
Number value. |
|
IngestFieldValue(Point value)
Construct a new IngestFieldValue with a
Point value. |
protected |
IngestFieldValue(Serializable value) |
|
IngestFieldValue(Shape value)
Construct a new IngestFieldValue with a
Shape value. |
|
IngestFieldValue(String value)
Construct a new IngestFieldValue with a
String value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue()
Gets the value as a
boolean. |
IngestFieldValue |
clone() |
ContentPointer |
contentPointerValue()
Gets the value as a
ContentPointer. |
Date |
dateValue()
Gets the value as a
Date. |
BigDecimal |
decimalValue()
Gets the value as a
BigDecimal. |
double |
doubleValue()
Gets the value as a
double. |
boolean |
equals(Object other) |
float |
floatValue()
Gets the value as a
float. |
long |
getEstimatedSize()
Get the estimated size of this field in bytes.
|
Locale |
getLocale()
Get the value's locale (or null if not known).
|
TokenList |
getTokenList()
Get the
TokenList for this value. |
Object |
getValue()
Get the field value.
|
int |
hashCode() |
int |
intValue()
Gets the value as an
int. |
long |
longValue()
Gets the value as a
long. |
Point |
pointValue()
Gets the value as a
Point. |
void |
setLocale(Locale value)
Set the value's locale.
|
void |
setTokenList(TokenList value)
Set the
TokenList for this value. |
void |
setValue(Boolean value)
Set a
Boolean value. |
void |
setValue(ContentPointer value)
Set a
ContentPointer value. |
void |
setValue(Date value)
Set a
Date value. |
void |
setValue(Document value)
Set a
Document value. |
void |
setValue(Number value)
Set a
numeric value. |
void |
setValue(Point value)
Set a
Point value. |
void |
setValue(Shape value)
Set a
Shape value. |
void |
setValue(String value)
Set a
String value. |
protected void |
setValueInternal(Serializable newValue) |
Shape |
shapeValue()
Gets the value as a
Shape. |
String |
stringValue()
Gets the value as a string.
|
String |
toString() |
boolean |
valueEquals(Object other)
|
static IngestFieldValue |
valueOf(Object value)
Get an
IngestFieldValue for value. |
Document |
xmlValue()
Gets the value as a
Document. |
protected Serializable value
protected IngestFieldValue()
protected IngestFieldValue(Serializable value)
public IngestFieldValue(String value)
String value.IllegalArgumentException - if value is null.public IngestFieldValue(Number value)
Number value.IllegalArgumentException - if value is null.public IngestFieldValue(Date value)
Date value.IllegalArgumentException - if value is null.public IngestFieldValue(Boolean value)
Boolean value.IllegalArgumentException - if value is null.public IngestFieldValue(Point value)
Point value.IllegalArgumentException - if value is null.public IngestFieldValue(Shape value)
Shape value.IllegalArgumentException - if value is null.public IngestFieldValue(ContentPointer value)
ContentPointer value.IllegalArgumentException - if value is null.public IngestFieldValue(Document value)
Document value.IllegalArgumentException - if value is null.public long getEstimatedSize()
NOTE: Includes size of remote content pointers.
public final Locale getLocale()
This locale will be used for per-language linguistic processing.
getLocale in interface LocaleAwarepublic void setLocale(Locale value)
setLocale in interface LocaleAwarepublic Object getValue()
public String stringValue()
public int intValue()
int.IllegalArgumentException - if this value cannot be represented as an int.public long longValue()
long.IllegalArgumentException - if this value cannot be represented as a long.public double doubleValue()
double.IllegalArgumentException - if this value cannot be represented as a double.public float floatValue()
float.IllegalArgumentException - if this value cannot be represented as a float.public boolean booleanValue()
boolean.IllegalArgumentException - if this value cannot be represented as a boolean.public Date dateValue()
Date.IllegalArgumentException - if this value cannot be represented as a Date.public BigDecimal decimalValue()
BigDecimal.IllegalArgumentException - if this value cannot be represented as a BigDecimal.public Point pointValue()
Point.IllegalArgumentException - if this value cannot be represented as a Point.public Shape shapeValue()
Shape.IllegalArgumentException - if this value cannot be represented as a Shape.public ContentPointer contentPointerValue()
ContentPointer.IllegalArgumentException - if this value cannot be represented as a ContentPointer.public Document xmlValue()
Document.IllegalArgumentException - if this value cannot be represented as a Document.public void setValue(String value)
String value.IllegalArgumentException - if value is null.public void setValue(Number value)
numeric value.IllegalArgumentException - if value is null.public void setValue(Date value)
Date value.IllegalArgumentException - if value is null.public void setValue(Boolean value)
Boolean value.IllegalArgumentException - if value is null.public void setValue(Point value)
Point value.IllegalArgumentException - if value is null.public void setValue(Shape value)
Shape value.IllegalArgumentException - if value is null.public void setValue(ContentPointer value)
ContentPointer value.IllegalArgumentException - if value is null.public void setValue(Document value)
Document value.IllegalArgumentException - if value is null.protected void setValueInternal(Serializable newValue)
public boolean valueEquals(Object other)
public IngestFieldValue clone()
public static IngestFieldValue valueOf(Object value)
IllegalArgumentException - if value is not a legal value.Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.