Package org.apache.tajo.datum.exception

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


  public byte [] getIPv4Bytes(int fieldId) {
    return values[fieldId].asByteArray();
  }

  public InetAddress getIPv6(int fieldId) {
    throw new InvalidCastException("IPv6 is unsupported yet");
  }
View Full Code Here


  public InetAddress getIPv6(int fieldId) {
    throw new InvalidCastException("IPv6 is unsupported yet");
  }

  public byte[] getIPv6Bytes(int fieldId) {
    throw new InvalidCastException("IPv6 is unsupported yet");
  }
View Full Code Here

  public byte[] getIPv4Bytes(int fieldId) {
    return values[fieldId].asByteArray();
  }

  public InetAddress getIPv6(int fieldId) {
    throw new InvalidCastException("IPv6 is unsupported yet");
  }
View Full Code Here

  public InetAddress getIPv6(int fieldId) {
    throw new InvalidCastException("IPv6 is unsupported yet");
  }

  public byte[] getIPv6Bytes(int fieldId) {
    throw new InvalidCastException("IPv6 is unsupported yet");
  }
View Full Code Here

    return get(fieldId).asByteArray();
  }

  @Override
  public InetAddress getIPv6(int fieldId) {
    throw new InvalidCastException("IPv6 is unsupported yet");
  }
View Full Code Here

    throw new InvalidCastException("IPv6 is unsupported yet");
  }

  @Override
  public byte[] getIPv6Bytes(int fieldId) {
    throw new InvalidCastException("IPv6 is unsupported yet");
  }
View Full Code Here

  public boolean isNull() {
    return false;
  }
 
  public boolean asBool() {
    throw new InvalidCastException(type + " cannot be casted to BOOL type");
  }
View Full Code Here

  public boolean asBool() {
    throw new InvalidCastException(type + " cannot be casted to BOOL type");
  }

  public byte asByte() {
    throw new InvalidCastException(type + " cannot be casted to BYTE type");
  }
View Full Code Here

  public byte asByte() {
    throw new InvalidCastException(type + " cannot be casted to BYTE type");
  }

  public char asChar() {
    throw new InvalidCastException(type + " cannot be casted to CHAR type");
  }
View Full Code Here

  public char asChar() {
    throw new InvalidCastException(type + " cannot be casted to CHAR type");
  }

  public short asInt2() {
    throw new InvalidCastException(type + " cannot be casted to SHORT type");
  }
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.