Package org.apache.hadoop.hbase.avro.generated

Examples of org.apache.hadoop.hbase.avro.generated.AServerAddress


  //
  // Cluster metadata
  //

  static public AServerAddress hsaToASA(HServerAddress hsa) throws IOException {
    AServerAddress asa = new AServerAddress();
    asa.hostname = new Utf8(hsa.getHostname());
    asa.inetSocketAddress = new Utf8(hsa.getInetSocketAddress().toString());
    asa.port = hsa.getPort();
    return asa;
  }
View Full Code Here


  //
  // Cluster metadata
  //

  static public AServerAddress hsaToASA(HServerAddress hsa) throws IOException {
    AServerAddress asa = new AServerAddress();
    asa.hostname = new Utf8(hsa.getHostname());
    asa.inetSocketAddress = new Utf8(hsa.getInetSocketAddress().toString());
    asa.port = hsa.getPort();
    return asa;
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.avro.generated.AServerAddress

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.