Package org.apache.tajo.datum.exception

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


    return true;
  }

  @Override
  public boolean asBool() {
    throw new InvalidCastException("NULL cannot be casted as a bool type value.");
  }
View Full Code Here


    ByteBuffer bb = ByteBuffer.wrap(bytes);
    this.val = bb.getFloat();
  }

  public boolean asBool() {
    throw new InvalidCastException();
  }
View Full Code Here

    return (long) val;
  }

  @Override
  public byte asByte() {
    throw new InvalidCastException();
  }
View Full Code Here

    return asChars();
  }

  @Override
  public int asInt4() {
    throw new InvalidCastException();
  }
View Full Code Here

    return time.toDateTimeToday().getMillis();
  }

  @Override
  public float asFloat4() {
    throw new InvalidCastException();
  }
View Full Code Here

    throw new InvalidCastException();
  }

  @Override
  public double asFloat8() {
    throw new InvalidCastException();
  }
View Full Code Here

    return encode();
  }

  @Override
  public float asFloat4() {
    throw new InvalidCastException();
  }
View Full Code Here

    throw new InvalidCastException();
  }

  @Override
  public double asFloat8() {
    throw new InvalidCastException();
  }
View Full Code Here

TOP

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

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.