Package org.apache.tajo.datum.exception

Examples of org.apache.tajo.datum.exception.InvalidOperationException


    case FLOAT8:
      return DatumFactory.createFloat8(val / datum.asFloat8());
    case NULL:
      return datum;
    default:
      throw new InvalidOperationException(datum.type());
    }
  }
View Full Code Here


      case FLOAT8:
        return DatumFactory.createFloat8(val % datum.asFloat8());
      case NULL:
        return datum;
      default:
        throw new InvalidOperationException(datum.type());
    }
  }
View Full Code Here

  }

  public abstract int size();

  public Datum and(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }
View Full Code Here

  public Datum and(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }

  public Datum or(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }
View Full Code Here

  public Datum or(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }

  public Datum plus(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }
View Full Code Here

  public Datum plus(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }

  public Datum minus(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }
View Full Code Here

  public Datum minus(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }

  public Datum multiply(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }
View Full Code Here

  public Datum multiply(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }

  public Datum divide(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }
View Full Code Here

  public Datum divide(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }

  public Datum modular(Datum datum) {
    throw new InvalidOperationException(datum.type);
  }
View Full Code Here

    case TIME_ARRAY: return Type.TIME;
    case TIMEZ_ARRAY: return Type.TIMEZ;
    case TIMESTAMP_ARRAY: return Type.TIMESTAMP;
    case TIMESTAMPZ_ARRAY: return Type.TIMESTAMPZ;
    case INTERVAL_ARRAY: return Type.INTERVAL;
    default: throw new InvalidOperationException("Invalid array type: " + arrayType.name());
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.tajo.datum.exception.InvalidOperationException

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.