org.apache.accumulo.examples.wikisearch.iterator
Class BooleanLogicTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.apache.accumulo.examples.wikisearch.iterator.BooleanLogicTreeNode
- All Implemented Interfaces:
- Serializable, Cloneable, MutableTreeNode, TreeNode
public class BooleanLogicTreeNode
- extends DefaultMutableTreeNode
- See Also:
- Serialized Form
Field Summary |
protected static org.apache.log4j.Logger |
log
|
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject |
log
protected static final org.apache.log4j.Logger log
BooleanLogicTreeNode
public BooleanLogicTreeNode()
BooleanLogicTreeNode
public BooleanLogicTreeNode(int type)
BooleanLogicTreeNode
public BooleanLogicTreeNode(int type,
boolean negate)
BooleanLogicTreeNode
public BooleanLogicTreeNode(int type,
String fieldName,
String fieldValue)
BooleanLogicTreeNode
public BooleanLogicTreeNode(int type,
String fieldName,
String fieldValue,
boolean negated)
setValid
public void setValid(boolean b)
isValid
public boolean isValid()
setType
public void setType(int t)
getType
public int getType()
setChildrenAllNegated
public void setChildrenAllNegated(boolean childrenAllNegated)
isChildrenAllNegated
public boolean isChildrenAllNegated()
setAdvanceKey
public void setAdvanceKey(Key advanceKey)
getAdvanceKey
public Key getAdvanceKey()
setNegated
public void setNegated(boolean b)
isNegated
public boolean isNegated()
setTopKey
public void setTopKey(Key id)
getTopKey
public Key getTopKey()
setDone
public void setDone(boolean done)
isDone
public boolean isDone()
setRollUp
public void setRollUp(boolean rollUp)
isRollUp
public boolean isRollUp()
getFieldValue
public org.apache.hadoop.io.Text getFieldValue()
setFieldValue
public void setFieldValue(org.apache.hadoop.io.Text term)
getFieldName
public org.apache.hadoop.io.Text getFieldName()
setFieldName
public void setFieldName(org.apache.hadoop.io.Text dataLocation)
getFieldOperator
public String getFieldOperator()
getLowerBound
public org.apache.hadoop.io.Text getLowerBound()
setLowerBound
public void setLowerBound(org.apache.hadoop.io.Text lowerBound)
getUpperBound
public org.apache.hadoop.io.Text getUpperBound()
setUpperBound
public void setUpperBound(org.apache.hadoop.io.Text upperBound)
isRangeNode
public boolean isRangeNode()
setRangeNode
public void setRangeNode(boolean rangeNode)
getContents
public String getContents()
printNode
public String printNode()
toString
public String toString()
- Overrides:
toString
in class DefaultMutableTreeNode
seek
public void seek(Range range,
Collection<ByteSequence> columnFamilies,
boolean inclusive)
throws IOException
- Throws:
IOException
buildTreePathString
public String buildTreePathString(TreeNode[] path)
next
public void next()
throws IOException
- Throws:
IOException
jump
public boolean jump(Key jumpKey)
throws IOException
- Throws:
IOException
addToSet
public void addToSet(Key i)
reSet
public void reSet()
inSet
public boolean inSet(Key t)
getSetIterator
public Iterator<Key> getSetIterator()
getIntersection
public HashSet<Key> getIntersection(HashSet<Key> h)
getMinUniqueID
public Key getMinUniqueID()
hasTop
public boolean hasTop()
buildKey
public static Key buildKey(Key key)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.