Code examples for DataOutput

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
102:	Text.writeString(out, name); 
103:	out.writeBoolean(isBlacklisted); 
104:	Text.writeString(out, reasonForBlacklist); 
105:	Text.writeString(out, blacklistReport); 
Full Snippet Info
8
CodeRank
74:	Text.writeString(out, name); 
-
76:	out.writeBoolean(distinctDisplayName); 
-
78:	Text.writeString(out, displayName); 
-
80:	WritableUtils.writeVLong(out, value); 
Full Snippet Info
8
CodeRank
49:	out.writeBoolean(shouldDie); 
-
51:	out.writeBoolean(true); 
52:	out.writeBoolean(t.isMapTask()); 
53:	t.write(out); 
Full Snippet Info
8
CodeRank
96:	WritableUtils.writeVInt(out, keyId); 
97:	WritableUtils.writeVLong(out, expiryDate); 
-
99:	WritableUtils.writeVInt(out, -1); 
-
101:	WritableUtils.writeVInt(out, keyBytes.length); 
102:	out.write(keyBytes); 
Full Snippet Info
8
CodeRank
83:	out.writeLong(applicationId.getClusterTimestamp()); 
84:	out.writeInt(applicationId.getId()); 
85:	out.writeInt(appAttemptId.getAttemptId()); 
86:	out.writeUTF(this.nodeId.toString()); 
87:	out.writeUTF(this.appSubmitter); 
88:	out.writeInt(this.keyId); 
Full Snippet Info
8
CodeRank
159:	out.writeInt(bytes.length); 
160:	out.write(bytes); 
161:	out.writeDouble(weight); 
Full Snippet Info
8
CodeRank
195:	out.writeByte(VERSION); 
196:	owner.write(out); 
197:	renewer.write(out); 
198:	realUser.write(out); 
199:	WritableUtils.writeVLong(out, issueDate); 
200:	WritableUtils.writeVLong(out, maxDate); 
201:	WritableUtils.writeVInt(out, sequenceNumber); 
202:	WritableUtils.writeVInt(out, masterKeyId); 
Full Snippet Info
8
CodeRank
39:	out.writeByte(b); 
Full Snippet Info
8
CodeRank
77:	S3Util.writeString(host, outstream); 
78:	outstream.writeInt(port); 
Full Snippet Info
8
CodeRank
62:	super.write(output); 
63:	output.writeBoolean(hint != null); 
-
65:	hint.write(output); 
Full Snippet Info
8
CodeRank
66:	output.write(HEADER_MODULE_UNAVAILABLE); 
-
73:	PackedInteger.writePackedInteger(output, modules.length); 
Full Snippet Info
7
CodeRank
102:	Text.writeString(out, name); 
103:	out.writeBoolean(isBlacklisted); 
104:	Text.writeString(out, reasonForBlacklist); 
105:	Text.writeString(out, blacklistReport); 
Full Snippet Info
7
CodeRank
86:	out.writeInt(compressed.length); 
87:	out.write(compressed); 
Full Snippet Info
7
CodeRank
67:	out.writeBoolean(hasMessage); 
-
69:	out.writeUTF(message); 
Full Snippet Info
7
CodeRank
94:	super.write(out); 
95:	out.writeLong(mapFinishTime); 
Full Snippet Info
7
CodeRank
80:	Text.writeString(out, file.toString()); 
81:	out.writeLong(start); 
82:	out.writeLong(length); 
Full Snippet Info
7
CodeRank
109:	out.writeInt(attr); 
110:	out.writeDouble(split); 
111:	loChild.write(out); 
112:	hiChild.write(out); 
Full Snippet Info
7
CodeRank
202:	taskId.write(out); 
203:	WritableUtils.writeVInt(out, idWithinJob); 
204:	out.writeBoolean(isMap); 
205:	WritableUtils.writeEnum(out, status); 
206:	WritableUtils.writeString(out, taskTrackerHttp); 
207:	WritableUtils.writeVInt(out, taskRunTime); 
208:	WritableUtils.writeVInt(out, eventId); 
Full Snippet Info
7
CodeRank
156:	output.writeInt(partitionId); 
157:	workerInfo.write(output); 
-
159:	output.writeBoolean(true); 
160:	previousWorkerInfo.write(output); 
-
162:	output.writeBoolean(false); 
-
165:	output.writeBoolean(true); 
166:	output.writeUTF(checkpointFilesPrefix); 
-
168:	output.writeBoolean(false); 
Full Snippet Info
7
CodeRank
150:	out.writeByte((byte) mType); 
151:	out.writeInt(mNodeId); 
-
154:	out.writeFloat(mHRank); 
-
159:	out.writeFloat(mARank); 
-
164:	out.writeFloat(mHRank); 
-
168:	out.writeFloat(mARank); 
-
171:	mInlinks.write(out); 
172:	mOutlinks.write(out); 
Full Snippet Info
7
CodeRank