
com.taobao.tdhs.jdbc.sqlparser.TreeNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tdhs-java-client Show documentation
Show all versions of tdhs-java-client Show documentation
A TDH_SOCKET Client For Java
/*
* Copyright(C) 2011-2012 Alibaba Group Holding Limited
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Authors:
* wentong
*/
/**
* (C) 2011-2012 Alibaba Group Holding Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
*
* Authors:
* danchen
*
*/
package com.taobao.tdhs.jdbc.sqlparser;
public class TreeNode {
//当前结点的内容
public String node_content;
//类型:列名 1;操作符>,<,=,>=,<= in like is 2;value 3;条件运算符 and or 4
public int node_type;
//左子树
public TreeNode left_node;
//右子树
public TreeNode right_node;
//父亲
public TreeNode parent_node;
//初始化这个结点的内容
public TreeNode()
{
node_content=null;
node_type=-1;
left_node=null;
right_node=null;
parent_node=null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy