Java Code Examples for org.apache.hadoop.record.RecordOutput#writeString()

The following examples show how to use org.apache.hadoop.record.RecordOutput#writeString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RecordTypeInfo.java    From hadoop with Apache License 2.0 5 votes vote down vote up
/**
 * Serialize the type information for a record
 */
@Override
public void serialize(RecordOutput rout, String tag) throws IOException {
  // write out any header, version info, here
  rout.startRecord(this, tag);
  rout.writeString(name, tag);
  sTid.writeRest(rout, tag);
  rout.endRecord(this, tag);
}
 
Example 2
Source File: RecordTypeInfo.java    From big-c with Apache License 2.0 5 votes vote down vote up
/**
 * Serialize the type information for a record
 */
@Override
public void serialize(RecordOutput rout, String tag) throws IOException {
  // write out any header, version info, here
  rout.startRecord(this, tag);
  rout.writeString(name, tag);
  sTid.writeRest(rout, tag);
  rout.endRecord(this, tag);
}
 
Example 3
Source File: RecordTypeInfo.java    From RDFS with Apache License 2.0 5 votes vote down vote up
/**
 * Serialize the type information for a record
 */
public void serialize(RecordOutput rout, String tag) throws IOException {
  // write out any header, version info, here
  rout.startRecord(this, tag);
  rout.writeString(name, tag);
  sTid.writeRest(rout, tag);
  rout.endRecord(this, tag);
}
 
Example 4
Source File: RecordTypeInfo.java    From hadoop-gpu with Apache License 2.0 5 votes vote down vote up
/**
 * Serialize the type information for a record
 */
public void serialize(RecordOutput rout, String tag) throws IOException {
  // write out any header, version info, here
  rout.startRecord(this, tag);
  rout.writeString(name, tag);
  sTid.writeRest(rout, tag);
  rout.endRecord(this, tag);
}
 
Example 5
Source File: FieldTypeInfo.java    From hadoop with Apache License 2.0 4 votes vote down vote up
void write(RecordOutput rout, String tag) throws IOException {
  rout.writeString(fieldID, tag);
  typeID.write(rout, tag);
}
 
Example 6
Source File: FieldTypeInfo.java    From big-c with Apache License 2.0 4 votes vote down vote up
void write(RecordOutput rout, String tag) throws IOException {
  rout.writeString(fieldID, tag);
  typeID.write(rout, tag);
}
 
Example 7
Source File: FieldTypeInfo.java    From RDFS with Apache License 2.0 4 votes vote down vote up
void write(RecordOutput rout, String tag) throws IOException {
  rout.writeString(fieldID, tag);
  typeID.write(rout, tag);
}
 
Example 8
Source File: FieldTypeInfo.java    From hadoop-gpu with Apache License 2.0 4 votes vote down vote up
void write(RecordOutput rout, String tag) throws IOException {
  rout.writeString(fieldID, tag);
  typeID.write(rout, tag);
}