Twease

twease.query.analyzer
Interface IQueryNode

All Known Implementing Classes:
QueryNodeIndexAlias, QueryNodeLowPass, QueryNodeOperator, QueryNodeTerm

public interface IQueryNode

Interface for Query Nodes.

Author:
Kevin Dorff

Nested Class Summary
static class IQueryNode.NodeType
          Enumeration to determine the type of node.
 
Method Summary
 int getNodePosition()
          Get the position of the node within the containing QueryNodes.
 IQueryNode.NodeType getNodeType()
          Get the node type.
 void setNodePosition(int newval)
          Set the position of the node within the containing QueryNodes.
 void setNodeType(IQueryNode.NodeType newval)
          Set the node type.
 String showQueryPart(boolean inQuotes)
          Display this node in a form suitable for execution.
 

Method Detail

getNodeType

IQueryNode.NodeType getNodeType()
Get the node type.

Returns:
the node type.

setNodeType

void setNodeType(IQueryNode.NodeType newval)
Set the node type.

Parameters:
newval - the new node type.

showQueryPart

String showQueryPart(boolean inQuotes)
Display this node in a form suitable for execution.

Returns:
String executable representation of this node.

getNodePosition

int getNodePosition()
Get the position of the node within the containing QueryNodes.

Returns:
int the position

setNodePosition

void setNodePosition(int newval)
Set the position of the node within the containing QueryNodes.

Parameters:
newval - the new position

Twease

Copyright © 2005-2009 Institute for Computational Biomedicine, All Rights Reserved.