Package org.voltdb.catalog

Examples of org.voltdb.catalog.ConstantValue


                }
            }
            // CONSTANT VALUE
            // This is more rare
            else if (param instanceof ConstantValue) {
                ConstantValue const_param = (ConstantValue)param;
                VoltType vtype = VoltType.get(const_param.getType());
                Object const_value = VoltTypeUtil.getObjectFromString(vtype, const_param.getValue());
                int partition_id = this.hasher.hash(const_value);
                partitions.add(partition_id);
            }
            // BUSTED!
            else {
View Full Code Here


                        // element = CatalogUtil.getColumn(catalog_db,
                        // table_name, column_name);
                        break;
                    }
                    case VALUE_CONSTANT: {
                        element = new ConstantValue();
                        ((ConstantValue) element).setIs_null(false);
                        ((ConstantValue) element).setType(((ConstantValueExpression) exp).getValueType().getValue());
                        ((ConstantValue) element).setValue(((ConstantValueExpression) exp).getValue());
                        break;
                    }
View Full Code Here

TOP

Related Classes of org.voltdb.catalog.ConstantValue

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.