public abstract class FieldValue extends Object implements Serializable
| Constructor and Description |
|---|
FieldValue(org.dmg.pmml.DataType dataType,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
asBoolean() |
org.joda.time.DateTime |
asDateTime() |
Integer |
asInteger() |
org.joda.time.LocalDate |
asLocalDate() |
org.joda.time.LocalDateTime |
asLocalDateTime() |
org.joda.time.LocalTime |
asLocalTime() |
Number |
asNumber() |
String |
asString() |
int |
compareToString(String string)
Calculates the order between this value and the reference value.
|
int |
compareToValue(FieldValue value) |
boolean |
equalsAnyString(Iterable<String> strings) |
boolean |
equalsAnyValue(Iterable<FieldValue> values) |
boolean |
equalsString(String string)
Checks if this value is equal to the reference value.
|
boolean |
equalsValue(FieldValue value) |
org.dmg.pmml.DataType |
getDataType() |
abstract org.dmg.pmml.OpType |
getOpType() |
Object |
getValue() |
protected Object |
parseValue(String string) |
String |
toString() |
public FieldValue(org.dmg.pmml.DataType dataType,
Object value)
public abstract org.dmg.pmml.OpType getOpType()
public boolean equalsString(String string)
string - The reference value.public boolean equalsValue(FieldValue value)
public boolean equalsAnyValue(Iterable<FieldValue> values)
public int compareToString(String string)
string - The reference value.public int compareToValue(FieldValue value)
public String asString()
public Integer asInteger()
public Number asNumber()
public Boolean asBoolean()
public org.joda.time.LocalDateTime asLocalDateTime()
public org.joda.time.LocalDate asLocalDate()
public org.joda.time.LocalTime asLocalTime()
public org.joda.time.DateTime asDateTime()
public org.dmg.pmml.DataType getDataType()
public Object getValue()
Copyright © 2014. All Rights Reserved.