Package org.apache.tajo.datum

Examples of org.apache.tajo.datum.BooleanDatum


  public BooleanDatum eval(Tuple params) {
    String addr = params.get(0).asChars();
    String otherCode = params.get(1).asChars();
    String thisCode = GeoUtil.getCountryCode(addr);

    return new BooleanDatum(thisCode.equals(otherCode));
  }
View Full Code Here

TOP

Related Classes of org.apache.tajo.datum.BooleanDatum

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.