Package com.salesforce.phoenix.parse

Examples of com.salesforce.phoenix.parse.LiteralParseNode


        for (Map.Entry<ColumnRef, byte[]> entry : addViewColumns.entrySet()) {
            ColumnRef ref = entry.getKey();
            PColumn column = ref.getColumn();
            byte[] byteValue = entry.getValue();
            Object value = column.getDataType().toObject(byteValue);
            selectNodes.add(new AliasedNode(null, new LiteralParseNode(value)));
        }
        if (table.isMultiTenant() && tenantId != null) {
            selectNodes.add(new AliasedNode(null, new LiteralParseNode(tenantId)));
        }
       
        return SelectStatement.create(select, selectNodes);
    }
View Full Code Here

TOP

Related Classes of com.salesforce.phoenix.parse.LiteralParseNode

Copyright © 2018 www.massapicom. 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.