@Beta public class SameElementItem extends NonReducibleCompositeItem
Item.ItemCreator, Item.ItemType
Modifier and Type | Field and Description |
---|---|
private String |
fieldName |
connectedBacklink, connectedItem, connectivity, DEFAULT_WEIGHT, explicitSignificance, significance, uniqueID
Constructor and Description |
---|
SameElementItem(String commonPath) |
Modifier and Type | Method and Description |
---|---|
protected void |
adding(Item item) |
protected void |
appendBodyString(StringBuilder buffer)
Override to append the item body in the canonical query language of this item.
|
protected void |
appendHeadingString(StringBuilder buffer)
Appends the heading of this string.
|
protected void |
encodeThis(ByteBuffer buffer)
Encodes just this item, not it's usual subitems, to the given buffer.
|
String |
getFieldName() |
Item.ItemType |
getItemType()
Return the enumerated type of this item.
|
String |
getName()
Returns the name of this item
|
addItem, addItem, clone, disclose, encode, encodingArity, ensureNotInSubtree, equals, getItem, getItemCount, getItemIndex, getItemIterator, getTermCount, hashCode, insertNullFirstItem, isLocked, lock, removeItem, removeItem, setIndexName, setItem, shouldParenthize
addAnnotation, getAnnotation, getBytes, getCode, getCreator, getLabel, getLanguage, getParent, getWeight, hasAnnotation, hasConnectivityBackLink, hasUniqueID, isFilter, isFromSpecialToken, isProtected, isRanked, isRoot, putBytes, putString, setCreator, setFilter, setFromSpecialToken, setHasUniqueID, setLabel, setLanguage, setParent, setPositionData, setProtected, setRanked, setWeight, toString, usePositionData
private final String fieldName
public SameElementItem(String commonPath)
protected void encodeThis(ByteBuffer buffer)
CompositeItem
encodeThis
in class CompositeItem
protected void appendHeadingString(StringBuilder buffer)
Item
appendHeadingString
in class Item
protected void appendBodyString(StringBuilder buffer)
Item
([itemName] [body])The body must be appended appended by this method.
appendBodyString
in class CompositeItem
protected void adding(Item item)
adding
in class CompositeItem
public Item.ItemType getItemType()
Item
getItemType
in class Item
public String getFieldName()
Copyright © 2018. All rights reserved.