public class PrefixItem extends WordItem
Item.ItemCreator, Item.ItemType
connectedBacklink, connectedItem, connectivity, DEFAULT_WEIGHT, explicitSignificance, significance, uniqueID
Constructor and Description |
---|
PrefixItem(String prefix) |
PrefixItem(String prefix,
boolean isFromQuery) |
PrefixItem(String prefix,
String indexName) |
Modifier and Type | Method and Description |
---|---|
Item.ItemType |
getItemType()
Return the enumerated type of this item.
|
String |
getName()
Returns the name of this item
|
String |
stringValue()
Returns this word as it should be used in executing the query.
|
appendHeadingString, disclose, encodeThis, equals, getEncodedWord, getIndexedString, getNumWords, getRawWord, getSegmentIndex, getWord, hashCode, isFromSegmented, isLowercased, isStemmed, isWords, setFromSegmented, setLowercased, setSegmentIndex, setStemmed, setValue, setWord, setWords
appendBodyString, encode, getOrigin, getSegmentingRule, getTermCount, isFromQuery, isNormalizable, setNormalizable, setOrigin, setSegmentingRule
appendIndexString, getIndexName, setIndexName
getConnectedItem, getConnectivity, getSignificance, getUniqueID, hasExplicitSignificance, hasUniqueID, setConnectivity, setExplicitSignificance, setSignificance, setUniqueID
addAnnotation, clone, getAnnotation, getBytes, getCode, getCreator, getLabel, getLanguage, getParent, getWeight, hasAnnotation, hasConnectivityBackLink, isFilter, isFromSpecialToken, isProtected, isRanked, isRoot, putBytes, putString, setCreator, setFilter, setFromSpecialToken, setHasUniqueID, setLabel, setLanguage, setParent, setPositionData, setProtected, setRanked, setWeight, shouldParenthize, toString, usePositionData
finalize, getClass, notify, notifyAll, wait, wait, wait
getIndexName
public PrefixItem(String prefix)
public PrefixItem(String prefix, boolean isFromQuery)
public Item.ItemType getItemType()
Item
getItemType
in class WordItem
public String stringValue()
WordItem
stringValue
in interface BlockItem
stringValue
in class WordItem
Copyright © 2018. All rights reserved.