| Constructor and Description |
|---|
FilterOutput(F output) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeBool(int fieldNumber,
boolean value,
boolean repeated)
Writes a boolean field.
|
void |
writeByteArray(int fieldNumber,
byte[] value,
boolean repeated)
Writes a byte array field.
|
void |
writeByteRange(boolean utf8String,
int fieldNumber,
byte[] value,
int offset,
int length,
boolean repeated)
Writes a binary or a pre-encoded utf8 string.
|
void |
writeBytes(int fieldNumber,
ByteString value,
boolean repeated)
Writes a ByteString(wraps byte array) field.
|
void |
writeDouble(int fieldNumber,
double value,
boolean repeated)
Writes a double field.
|
void |
writeEnum(int fieldNumber,
int value,
boolean repeated)
Writes a enum(its number) field.
|
void |
writeFixed32(int fieldNumber,
int value,
boolean repeated)
Writes a fixed int(4 bytes) field.
|
void |
writeFixed64(int fieldNumber,
long value,
boolean repeated)
Writes a fixed long(8 bytes) field.
|
void |
writeFloat(int fieldNumber,
float value,
boolean repeated)
Writes a float field.
|
void |
writeInt32(int fieldNumber,
int value,
boolean repeated)
Writes a variable int field.
|
void |
writeInt64(int fieldNumber,
long value,
boolean repeated)
Writes a variable long field.
|
<T> void |
writeObject(int fieldNumber,
T value,
Schema<T> schema,
boolean repeated)
Writes an object(using its schema) field.
|
void |
writeSFixed32(int fieldNumber,
int value,
boolean repeated)
Writes a signed+fixed int(4 bytes) field.
|
void |
writeSFixed64(int fieldNumber,
long value,
boolean repeated)
Writes a signed+fixed long(8 bytes) field.
|
void |
writeSInt32(int fieldNumber,
int value,
boolean repeated)
Writes a signed int field.
|
void |
writeSInt64(int fieldNumber,
long value,
boolean repeated)
Writes a signed long field.
|
void |
writeString(int fieldNumber,
java.lang.String value,
boolean repeated)
Writes a String field.
|
void |
writeUInt32(int fieldNumber,
int value,
boolean repeated)
Writes an unsigned int field.
|
void |
writeUInt64(int fieldNumber,
long value,
boolean repeated)
Writes an unsigned long field.
|
public FilterOutput(F output)
public void writeBool(int fieldNumber,
boolean value,
boolean repeated)
throws java.io.IOException
Outputpublic void writeByteArray(int fieldNumber,
byte[] value,
boolean repeated)
throws java.io.IOException
OutputwriteByteArray in interface Outputjava.io.IOExceptionpublic void writeByteRange(boolean utf8String,
int fieldNumber,
byte[] value,
int offset,
int length,
boolean repeated)
throws java.io.IOException
OutputwriteByteRange in interface Outputjava.io.IOExceptionpublic void writeBytes(int fieldNumber,
ByteString value,
boolean repeated)
throws java.io.IOException
OutputwriteBytes in interface Outputjava.io.IOExceptionpublic void writeDouble(int fieldNumber,
double value,
boolean repeated)
throws java.io.IOException
OutputwriteDouble in interface Outputjava.io.IOExceptionpublic void writeEnum(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
Outputpublic void writeFixed32(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
OutputwriteFixed32 in interface Outputjava.io.IOExceptionpublic void writeFixed64(int fieldNumber,
long value,
boolean repeated)
throws java.io.IOException
OutputwriteFixed64 in interface Outputjava.io.IOExceptionpublic void writeFloat(int fieldNumber,
float value,
boolean repeated)
throws java.io.IOException
OutputwriteFloat in interface Outputjava.io.IOExceptionpublic void writeInt32(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
OutputwriteInt32 in interface Outputjava.io.IOExceptionpublic void writeInt64(int fieldNumber,
long value,
boolean repeated)
throws java.io.IOException
OutputwriteInt64 in interface Outputjava.io.IOExceptionpublic <T> void writeObject(int fieldNumber,
T value,
Schema<T> schema,
boolean repeated)
throws java.io.IOException
OutputwriteObject in interface Outputjava.io.IOExceptionpublic void writeSFixed32(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
OutputwriteSFixed32 in interface Outputjava.io.IOExceptionpublic void writeSFixed64(int fieldNumber,
long value,
boolean repeated)
throws java.io.IOException
OutputwriteSFixed64 in interface Outputjava.io.IOExceptionpublic void writeSInt32(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
OutputwriteSInt32 in interface Outputjava.io.IOExceptionpublic void writeSInt64(int fieldNumber,
long value,
boolean repeated)
throws java.io.IOException
OutputwriteSInt64 in interface Outputjava.io.IOExceptionpublic void writeString(int fieldNumber,
java.lang.String value,
boolean repeated)
throws java.io.IOException
OutputwriteString in interface Outputjava.io.IOExceptionpublic void writeUInt32(int fieldNumber,
int value,
boolean repeated)
throws java.io.IOException
OutputwriteUInt32 in interface Outputjava.io.IOExceptionpublic void writeUInt64(int fieldNumber,
long value,
boolean repeated)
throws java.io.IOException
OutputwriteUInt64 in interface Outputjava.io.IOExceptionCopyright © 2009-2016. All Rights Reserved.