org.apache.lucene.queryParser.core.config
public class FieldConfig extends AttributeSource
AttributeSource
.QueryConfigHandler
,
Attribute
AttributeSource.AttributeFactory, AttributeSource.State
Constructor and Description |
---|
FieldConfig(java.lang.CharSequence fieldName)
Constructs a
FieldConfig |
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
getFieldName()
Returns the field name this configuration represents.
|
java.lang.String |
toString() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, restoreState
public FieldConfig(java.lang.CharSequence fieldName)
FieldConfig
fieldName
- the field name, it cannot be nulljava.lang.IllegalArgumentException
- if the field name is nullpublic java.lang.CharSequence getFieldName()
public java.lang.String toString()
toString
in class AttributeSource
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.