org.apache.lucene.queryParser.core.config
Class FieldConfig
java.lang.Object
org.apache.lucene.util.AttributeSource
org.apache.lucene.queryParser.core.config.FieldConfig
public class FieldConfig
- extends AttributeSource
This class represents a field configuration. Every configuration should be
set using the methods inherited from AttributeSource
.
- See Also:
QueryConfigHandler
,
Attribute
Methods inherited from class org.apache.lucene.util.AttributeSource |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, restoreState |
FieldConfig
public FieldConfig(CharSequence fieldName)
- Constructs a
FieldConfig
- Parameters:
fieldName
- the field name, it cannot be null
- Throws:
IllegalArgumentException
- if the field name is null
getFieldName
public CharSequence getFieldName()
- Returns the field name this configuration represents.
- Returns:
- the field name
toString
public String toString()
- Overrides:
toString
in class AttributeSource
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.