Examples of CastToIntegerOperation


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

    @Override
    public void convertDouble(DoublePointable doublep, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            abvsInner.reset();
            CastToIntegerOperation castTo = new CastToIntegerOperation();
            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.CastToIntegerOperation

    @Override
    public void convertFloat(FloatPointable floatp, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            abvsInner.reset();
            CastToIntegerOperation castTo = new CastToIntegerOperation();
            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.CastToIntegerOperation

    @Override
    public void convertString(UTF8StringPointable stringp, DataOutput dOut) throws SystemException, IOException {
        boolean castable = true;
        try {
            abvsInner.reset();
            CastToIntegerOperation castTo = new CastToIntegerOperation();
            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.CastToIntegerOperation

                        break;
                    case ValueTag.XS_FLOAT_TAG:
                        aCastToOp = new CastToFloatOperation();
                        break;
                    case ValueTag.XS_INTEGER_TAG:
                        aCastToOp = new CastToIntegerOperation();
                        break;
                    case ValueTag.XS_NON_POSITIVE_INTEGER_TAG:
                        aCastToOp = new CastToNonPositiveIntegerOperation();
                        break;
                    case ValueTag.XS_NEGATIVE_INTEGER_TAG:
View Full Code Here

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

                        break;
                    case ValueTag.XS_FLOAT_TAG:
                        aCastToOp = new CastToFloatOperation();
                        break;
                    case ValueTag.XS_INTEGER_TAG:
                        aCastToOp = new CastToIntegerOperation();
                        break;
                    case ValueTag.XS_NON_POSITIVE_INTEGER_TAG:
                        aCastToOp = new CastToNonPositiveIntegerOperation();
                        break;
                    case ValueTag.XS_NEGATIVE_INTEGER_TAG:
View Full Code Here

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

                        break;
                    case ValueTag.XS_FLOAT_TAG:
                        aCastToOp = new CastToFloatOperation();
                        break;
                    case ValueTag.XS_INTEGER_TAG:
                        aCastToOp = new CastToIntegerOperation();
                        break;
                    case ValueTag.XS_NON_POSITIVE_INTEGER_TAG:
                        aCastToOp = new CastToNonPositiveIntegerOperation();
                        break;
                    case ValueTag.XS_NEGATIVE_INTEGER_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.