Examples of CastToIntOperation


Examples of org.apache.vxquery.runtime.functions.cast.CastToIntOperation

    @Override
    public void convertDouble(DoublePointable doublep, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            abvsInner.reset();
            CastToIntOperation castTo = new CastToIntOperation();
            castTo.convertDouble(doublep, dOutInner);
        } catch (Exception e) {
            castable = false;
        }
        dOut.write(ValueTag.XS_BOOLEAN_TAG);
        dOut.write((byte) (castable ? 1 : 0));
View Full Code Here

Examples of org.apache.vxquery.runtime.functions.cast.CastToIntOperation

    @Override
    public void convertFloat(FloatPointable floatp, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            abvsInner.reset();
            CastToIntOperation castTo = new CastToIntOperation();
            castTo.convertFloat(floatp, dOutInner);
        } catch (Exception e) {
            castable = false;
        }
        dOut.write(ValueTag.XS_BOOLEAN_TAG);
        dOut.write((byte) (castable ? 1 : 0));
View Full Code Here

Examples of org.apache.vxquery.runtime.functions.cast.CastToIntOperation

    @Override
    public void convertString(UTF8StringPointable stringp, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            abvsInner.reset();
            CastToIntOperation castTo = new CastToIntOperation();
            castTo.convertString(stringp, dOutInner);
        } catch (Exception e) {
            castable = false;
        }
        dOut.write(ValueTag.XS_BOOLEAN_TAG);
        dOut.write((byte) (castable ? 1 : 0));
View Full Code Here

Examples of org.apache.vxquery.runtime.functions.cast.CastToIntOperation

                        break;
                    case ValueTag.XS_POSITIVE_INTEGER_TAG:
                        aCastToOp = new CastToPositiveIntegerOperation();
                        break;
                    case ValueTag.XS_INT_TAG:
                        aCastToOp = new CastToIntOperation();
                        break;
                    case ValueTag.XS_UNSIGNED_INT_TAG:
                        aCastToOp = new CastToUnsignedIntOperation();
                        break;
                    case ValueTag.XS_SHORT_TAG:
View Full Code Here

Examples of org.apache.vxquery.runtime.functions.cast.CastToIntOperation

                        break;
                    case ValueTag.XS_POSITIVE_INTEGER_TAG:
                        aCastToOp = new CastToPositiveIntegerOperation();
                        break;
                    case ValueTag.XS_INT_TAG:
                        aCastToOp = new CastToIntOperation();
                        break;
                    case ValueTag.XS_UNSIGNED_INT_TAG:
                        aCastToOp = new CastToUnsignedIntOperation();
                        break;
                    case ValueTag.XS_SHORT_TAG:
View Full Code Here

Examples of org.apache.vxquery.runtime.functions.cast.CastToIntOperation

                        break;
                    case ValueTag.XS_POSITIVE_INTEGER_TAG:
                        aCastToOp = new CastToPositiveIntegerOperation();
                        break;
                    case ValueTag.XS_INT_TAG:
                        aCastToOp = new CastToIntOperation();
                        break;
                    case ValueTag.XS_UNSIGNED_INT_TAG:
                        aCastToOp = new CastToUnsignedIntOperation();
                        break;
                    case ValueTag.XS_SHORT_TAG:
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.