Module datarush.library
Package com.pervasive.datarush.schema
Class TextField<T extends TextDataType>
- java.lang.Object
-
- com.pervasive.datarush.schema.TextField<T>
-
public final class TextField<T extends TextDataType> extends Object
The text analog ofField. Consists of a name, type, and domain
-
-
Constructor Summary
Constructors Constructor Description TextField(String name, T type, FieldDomain domain)Creates a new text field
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldDomaingetDomain()Returns the domain of this fieldStringgetName()Returns the name of this fieldTgetType()Returns the type of this field
-
-
-
Constructor Detail
-
TextField
public TextField(String name, T type, FieldDomain domain)
Creates a new text field- Parameters:
name- the name of the field. must not be null.type- the type of the field. must not be null.domain- the domain of the field. must not be null but may beFieldDomain.UNSPECIFIED.
-
-
Method Detail
-
getName
public String getName()
Returns the name of this field- Returns:
- the name of this field
-
getType
public T getType()
Returns the type of this field- Returns:
- the type of this field
-
getDomain
public FieldDomain getDomain()
Returns the domain of this field- Returns:
- the domain of this field
-
-