Package org.hsqldb.types.Type

Examples of org.hsqldb.types.Type.TypedComparator


            this.isDistinct = true;
            this.arrayType  = arrayType;
            distinctValues  = new HashSet();

            if (type.isRowType() || type.isArrayType()) {
                TypedComparator comparator = Type.newComparator(session);
                SortAndSlice    sort       = new SortAndSlice();
                int length = type.isRowType()
                             ? ((RowType) type).getTypesArray().length
                             : 1;

                sort.prepareMultiColumn(length);
                comparator.setType(type, sort);
                distinctValues.setComparator(comparator);
            }
        }

        if (setType == OpTypes.VAR_SAMP || setType == OpTypes.STDDEV_SAMP) {
View Full Code Here

TOP

Related Classes of org.hsqldb.types.Type.TypedComparator

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.