Code example for DataInput

Methods: readBooleanreadIntreadUTF

0
    } 
  } 
 
  @Override 
  public void readFields(DataInput in) throws IOException {
    super.readFields(in);
    columnMapping = in.readUTF();
    keyspace = in.readUTF();
    columnFamily = in.readUTF();
    splitSize = in.readInt();
    rangeBatchSize = in.readInt();
    slicePredicateSize = in.readInt();
    partitioner = in.readUTF();
    port = in.readInt();
    host = in.readUTF();
    isIncremental = in.readBoolean();
    if (isIncremental) split = new IncrementalColumnFamilySplit();
 
    split.readFields(in);
  } 
 
  @Override 
  public void write(DataOutput out) throws IOException {
    super.write(out);
Stop searching for code, let great code find you!  Add Codota to your java IDE