Item.ItemCreator, Item.ItemType
connectedBacklink, connectedItem, connectivity, DEFAULT_WEIGHT, explicitSignificance, significance, uniqueID
Constructor and Description |
---|
NullItem() |
Modifier and Type | Method and Description |
---|---|
void |
appendBodyString(StringBuilder buffer)
Override to append the item body in the canonical query language of this item.
|
void |
appendHeadingString(StringBuilder buffer)
Appends the heading of this string.
|
int |
encode(ByteBuffer buffer) |
Item.ItemType |
getItemType()
Return the enumerated type of this item.
|
String |
getName()
Returns the name of this item
|
int |
getTermCount() |
void |
setIndexName(String index)
Does nothing
|
addAnnotation, clone, disclose, encodeThis, equals, getAnnotation, getBytes, getCode, getCreator, getLabel, getLanguage, getParent, getWeight, hasAnnotation, hasConnectivityBackLink, hashCode, hasUniqueID, isFilter, isFromSpecialToken, isProtected, isRanked, isRoot, putBytes, putString, setCreator, setFilter, setFromSpecialToken, setHasUniqueID, setLabel, setLanguage, setParent, setPositionData, setProtected, setRanked, setWeight, shouldParenthize, toString, usePositionData
public void setIndexName(String index)
setIndexName
in class Item
public int encode(ByteBuffer buffer)
public Item.ItemType getItemType()
Item
getItemType
in class Item
public void appendBodyString(StringBuilder buffer)
Item
([itemName] [body])The body must be appended appended by this method.
appendBodyString
in class Item
public void appendHeadingString(StringBuilder buffer)
Item
appendHeadingString
in class Item
public int getTermCount()
getTermCount
in class Item
Copyright © 2018. All rights reserved.