Examples of DeprecatedUTF8


Examples of org.apache.hadoop.hdfs.DeprecatedUTF8

      return (T)this;
    }

    @Override
    void writeFields(DataOutputStream out) throws IOException {
      DeprecatedUTF8 nameReplicationPair[] = new DeprecatedUTF8[] {
        new DeprecatedUTF8(path),
        toLogReplication(replication),
        toLogLong(mtime),
        toLogLong(atime),
        toLogLong(blockSize)};
      new ArrayWritable(DeprecatedUTF8.class, nameReplicationPair).write(out);
      new ArrayWritable(Block.class, blocks).write(out);
      permissions.write(out);

      if (this.opCode == OP_ADD) {
        new DeprecatedUTF8(clientName).write(out);
        new DeprecatedUTF8(clientMachine).write(out);
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.