public class FieldConfig extends AbstractQueryConfig
AttributeSource
.QueryConfigHandler
,
Attribute
Constructor and Description |
---|
FieldConfig(java.lang.CharSequence fieldName)
Deprecated.
use
FieldConfig(String) instead |
FieldConfig(java.lang.String fieldName)
Constructs a
FieldConfig |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getField()
Returns the field name this configuration represents.
|
java.lang.CharSequence |
getFieldName()
Deprecated.
use
getField() instead |
java.lang.String |
toString() |
addAttribute, get, get, has, set, unset
addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
@Deprecated public FieldConfig(java.lang.CharSequence fieldName)
FieldConfig(String)
insteadFieldConfig
fieldName
- the field name, it cannot be nulljava.lang.IllegalArgumentException
- if the field name is nullpublic FieldConfig(java.lang.String fieldName)
FieldConfig
fieldName
- the field name, it cannot be nulljava.lang.IllegalArgumentException
- if the field name is null@Deprecated public java.lang.CharSequence getFieldName()
getField()
insteadpublic java.lang.String getField()
public java.lang.String toString()
toString
in class org.apache.lucene.util.AttributeSource
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.