Package com.yahoo.search.schema
Class Field
java.lang.Object
com.yahoo.search.schema.Field
- All Implemented Interfaces:
FieldInfo
A field in a schema.
- Author:
- bratseth
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaliases()booleaninthashCode()booleanReturns whether this field is an attribute, i.e. does indexing: attribute.booleanisIndex()Returns whether this field is an index, i.e. does indexing: index.name()Returns the name of this field or field set.toString()type()
-
Constructor Details
-
Field
-
-
Method Details
-
name
Description copied from interface:FieldInfoReturns the name of this field or field set. -
type
-
aliases
-
isAttribute
public boolean isAttribute()Returns whether this field is an attribute, i.e. does indexing: attribute.- Specified by:
isAttributein interfaceFieldInfo
-
isIndex
public boolean isIndex()Returns whether this field is an index, i.e. does indexing: index. -
equals
-
hashCode
public int hashCode() -
toString
-