public class UserDefinedFieldDef extends Object implements Externalizable, Cloneable
Modifier and Type | Field and Description |
---|---|
static TimeResolution |
DEFAULT_DATE_RESOLUTION |
static int |
DEFAULT_DECIMAL_SCALE |
Constructor and Description |
---|
UserDefinedFieldDef() |
UserDefinedFieldDef(String name,
SchemaField.Type type,
String className) |
Modifier and Type | Method and Description |
---|---|
UserDefinedFieldDef |
clone() |
boolean |
equals(Object other) |
String |
getClassName()
Get the class name for the user defined field implementation.
|
TimeResolution |
getDateResolution()
Get the resolution for
SchemaField.Type.DATE type. |
int |
getDecimalScale()
Get the scale for
SchemaField.Type.DECIMAL type. |
String |
getName()
Get the name for the user defined field.
|
SchemaField.Type |
getType()
Get the return type for the user defined field.
|
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
setClassName(String value)
Set the class name for the user defined field implementation.
|
void |
setDateResolution(TimeResolution value)
Set the resolution for
SchemaField.Type.DATE type. |
void |
setDecimalScale(int value)
Set the scale for
SchemaField.Type.DECIMAL type. |
void |
setName(String value)
Set the name for the user defined field.
|
void |
setType(SchemaField.Type value)
Set the return type for the user defined field.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public static TimeResolution DEFAULT_DATE_RESOLUTION
public static int DEFAULT_DECIMAL_SCALE
public UserDefinedFieldDef()
public UserDefinedFieldDef(String name, SchemaField.Type type, String className)
public SchemaField.Type getType()
public void setType(SchemaField.Type value)
public String getName()
public void setName(String value)
public String getClassName()
public void setClassName(String value)
public int getDecimalScale()
SchemaField.Type.DECIMAL
type.public void setDecimalScale(int value)
SchemaField.Type.DECIMAL
type.public TimeResolution getDateResolution()
SchemaField.Type.DATE
type.public void setDateResolution(TimeResolution value)
SchemaField.Type.DATE
type.public UserDefinedFieldDef clone()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
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.