public class PureWeightedInteger extends PureWeightedItem
Item.ItemCreator, Item.ItemType
connectedBacklink, connectedItem, connectivity, DEFAULT_WEIGHT, explicitSignificance, significance, uniqueID
Constructor and Description |
---|
PureWeightedInteger(long value) |
PureWeightedInteger(long value,
int weight) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendBodyString(StringBuilder buffer)
Override to append the item body in the canonical query language of this item.
|
protected void |
encodeThis(ByteBuffer buffer) |
Item.ItemType |
getItemType()
Return the enumerated type of this item.
|
int |
getTermCount() |
long |
getValue() |
encode, getName, setIndexName
addAnnotation, appendHeadingString, clone, disclose, 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 PureWeightedInteger(long value)
public PureWeightedInteger(long value, int weight)
public Item.ItemType getItemType()
Item
getItemType
in class Item
protected void encodeThis(ByteBuffer buffer)
encodeThis
in class Item
public int getTermCount()
getTermCount
in class Item
protected void appendBodyString(StringBuilder buffer)
Item
([itemName] [body])The body must be appended appended by this method.
appendBodyString
in class PureWeightedItem
public long getValue()
Copyright © 2018. All rights reserved.