Examples of doesColumnFamilyExist()


Examples of org.lealone.dbobject.table.Table.doesColumnFamilyExist()

            }
        }

        if (columnFamilyName == null) {
            return t.getColumn(columnName);
        } else if (!t.doesColumnFamilyExist(columnFamilyName)) {
            //当columnFamilyName不存在时,有可能是想使用简化的tableAlias.columnName语法
            if (!equalsToken(columnFamilyName, filter.getTableAlias())) {
                throw DbException.get(ErrorCode.TABLE_OR_VIEW_NOT_FOUND_1, columnFamilyName);
            }
View Full Code Here

Examples of org.lealone.dbobject.table.Table.doesColumnFamilyExist()

            }

            String tableAlias = this.tableAlias;
            boolean useAlias = false;
            //当columnFamilyName不存在时,有可能是想使用简化的tableAlias.columnName语法
            if (columnFamilyName != null && !t.doesColumnFamilyExist(columnFamilyName)) {
                //不替换原有的tableAlias,因为有可能在另一个table中存在这样的columnFamilyName
                tableAlias = columnFamilyName;

                if (!t.doesColumnExist(columnName))
                    return;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.