Examples of namedTable()


Examples of org.apache.phoenix.parse.ParseNodeFactory.namedTable()

                String schemaName = context.getCurrentTable().getTable().getSchemaName().getString();
                String parentTable = context.getCurrentTable().getTable().getParentTableName().getString();
                final ParseNodeFactory FACTORY = new ParseNodeFactory();
                TableRef dataTableRef =
                        FromCompiler.getResolver(
                            FACTORY.namedTable(null, TableName.create(schemaName, parentTable)),
                            context.getConnection()).resolveTable(schemaName, parentTable);
                PTable dataTable = dataTableRef.getTable();
                // Set index maintainer of the local index.
                serializeIndexMaintainerIntoScan(scan, dataTable);
                // Set view constants if exists.
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.