@Override public void readFields(DataInput dataInput) { try { isXLearningTrainCompleted.readFields(dataInput); interResultTimeStamp.readFields(dataInput); } catch (IOException e) { LOG.error("containerStatus read error:" + e); } } }
@Override public void readFields(DataInput dataInput) throws IOException { this.xlearningContainerStatus = WritableUtils.readEnum(dataInput, XLearningContainerStatus.class); interResultSavedStatus.readFields(dataInput); this.progressLog = Text.readString(dataInput); this.containersStartTime = Text.readString(dataInput); this.containersFinishTime = Text.readString(dataInput); }
/** read the boolean value */ static boolean readBoolean(DataInput in) throws IOException { BooleanWritable uBoolean = TL_DATA.get().U_BOOLEAN; uBoolean.readFields(in); return uBoolean.get(); }
/** read the boolean value */ static boolean readBoolean(DataInput in) throws IOException { BooleanWritable uBoolean = TL_DATA.get().U_BOOLEAN; uBoolean.readFields(in); return uBoolean.get(); }
public void readFields(DataInput in) throws IOException { this.smaller.readFields(in); this.data.readFields(in); } }
/** read the boolean value */ static boolean readBoolean(DataInput in) throws IOException { BooleanWritable uBoolean = TL_DATA.get().U_BOOLEAN; uBoolean.readFields(in); return uBoolean.get(); }
@Override public void readFields(DataInput in) throws IOException { isOld = new BooleanWritable(); isOld.readFields(in); valClass = new Text(); valClass.readFields(in); try { val = (V) Class.forName(valClass.toString()).newInstance(); } catch (Exception e) { e.printStackTrace(); } val.readFields(in); }
@Override public void readFields(DataInput in) throws IOException { Text outputNameText = new Text(); outputNameText.readFields(in); outputNamePrefix = outputNameText.toString(); outputNum = in.readInt(); BooleanWritable hasSharedOutputs = new BooleanWritable(); hasSharedOutputs.readFields(in); if (hasSharedOutputs.get()) { Text sharedOutputNamePrefixText = new Text(); sharedOutputNamePrefixText.readFields(in); sharedOutputNamePrefix = sharedOutputNamePrefixText.toString(); sharedOutputNum = in.readInt(); } }
BooleanWritable booleanWritable = (BooleanWritable) WritableFactories.newInstance(BooleanWritable.class); booleanWritable.readFields(in); return booleanWritable.get(); case NULL:
public void readFields(DataInput in) throws IOException { BooleanWritable flag = new BooleanWritable(false); flag.readFields(in); double[] xUpdated = null; if (flag.get()) { flag.readFields(in); if (flag.get()) { DoubleArrayWritable reader = new DoubleArrayWritable(); flag.readFields(in); if (flag.get()) { DoubleArrayWritable reader = new DoubleArrayWritable();