Examples of HashRangeExpression


Examples of org.voltdb.expressions.HashRangeExpression

     * @param table     The table to build the elastic index on
     * @param ranges    The hash ranges that the index should include
     */
    public static AbstractExpression createIndexExpressionForTable(Table table, Map<Integer, Integer> ranges)
    {
        HashRangeExpression predicate = new HashRangeExpression();
        predicate.setRanges(ranges);
        predicate.setHashColumnIndex(table.getPartitioncolumn().getIndex());

        return predicate;
    }
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.