Uses of Class
io.protostuff.Pipe
-
Packages that use Pipe Package Description io.protostuff io.protostuff.runtime -
-
Uses of Pipe in io.protostuff
Methods in io.protostuff that return Pipe Modifier and Type Method Description Pipe
Pipe.Schema. newMessage()
static Pipe
JsonIOUtil. newPipe(byte[] data, boolean numeric)
Creates a json pipe from a byte array.static Pipe
JsonIOUtil. newPipe(byte[] data, int offset, int length, boolean numeric)
Creates a json pipe from a byte array.static Pipe
JsonIOUtil. newPipe(com.fasterxml.jackson.core.JsonParser parser, boolean numeric)
Creates a json pipe from aJsonParser
.static Pipe
JsonIOUtil. newPipe(java.io.InputStream in, boolean numeric)
Creates a json pipe from anInputStream
.static Pipe
JsonIOUtil. newPipe(java.io.Reader reader, boolean numeric)
Creates a json pipe from aReader
.static Pipe
ProtobufIOUtil. newPipe(byte[] data)
Creates a protobuf pipe from a byte array.static Pipe
ProtobufIOUtil. newPipe(byte[] data, int offset, int len)
Creates a protobuf pipe from a byte array.static Pipe
ProtobufIOUtil. newPipe(java.io.InputStream in)
Creates a protobuf pipe from anInputStream
.static Pipe
ProtostuffIOUtil. newPipe(byte[] data)
Creates a protostuff pipe from a byte array.static Pipe
ProtostuffIOUtil. newPipe(byte[] data, int offset, int len)
Creates a protostuff pipe from a byte array.static Pipe
ProtostuffIOUtil. newPipe(java.io.InputStream in)
Creates a protostuff pipe from anInputStream
.static Pipe
SmileIOUtil. newPipe(byte[] data, boolean numeric)
Creates a smile pipe from a byte array.static Pipe
SmileIOUtil. newPipe(byte[] data, int offset, int length, boolean numeric)
Creates a smile pipe from a byte array.static Pipe
SmileIOUtil. newPipe(java.io.InputStream in, boolean numeric)
Creates a smile pipe from anInputStream
.static Pipe
XmlIOUtil. newPipe(byte[] data)
Creates an xml pipe from a byte array.static Pipe
XmlIOUtil. newPipe(byte[] data, int offset, int length)
Creates an xml pipe from a byte array.static Pipe
XmlIOUtil. newPipe(java.io.InputStream in)
Creates an xml pipe from anInputStream
.static Pipe
XmlIOUtil. newPipe(java.io.Reader reader)
Creates an xml pipe from aReader
.static Pipe
XmlIOUtil. newPipe(javax.xml.stream.XMLStreamReader parser)
Creates an xml pipe from anXMLStreamReader
.protected Pipe
Pipe. reset()
Resets this pipe for re-use.Methods in io.protostuff that return types with arguments of type Pipe Modifier and Type Method Description java.lang.Class<Pipe>
Pipe.Schema. typeClass()
Methods in io.protostuff with parameters of type Pipe Modifier and Type Method Description boolean
Pipe.Schema. isInitialized(Pipe message)
Always returns true since we're just transferring data.void
Pipe.Schema. mergeFrom(Input input, Pipe pipe)
protected abstract void
Pipe.Schema. transfer(Pipe pipe, Input input, Output output)
static <T> void
Pipe. transferDirect(Pipe.Schema<T> pipeSchema, Pipe pipe, Input input, Output output)
This should not be called directly by applications.protected abstract void
MapSchema. transferKey(Pipe pipe, Input input, Output output, int number, boolean repeated)
Transfers the key from the input to the output.protected void
MessageMapSchema. transferKey(Pipe pipe, Input input, Output output, int number, boolean repeated)
protected void
StringMapSchema. transferKey(Pipe pipe, Input input, Output output, int number, boolean repeated)
protected abstract void
CollectionSchema. transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated)
Transfers the value from the input to the output.protected abstract void
MapSchema. transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated)
Transfers the value from the input to the output.protected void
MessageCollectionSchema. transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated)
protected void
MessageMapSchema. transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated)
protected void
StringMapSchema. transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated)
void
Pipe.Schema. writeTo(Output output, Pipe pipe)
-
Uses of Pipe in io.protostuff.runtime
Methods in io.protostuff.runtime with parameters of type Pipe Modifier and Type Method Description protected abstract void
RuntimeMapField. kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated)
void
Delegate. transfer(Pipe pipe, Input input, Output output, int number, boolean repeated)
Transfers the type from the input to the output.static void
EnumIO. transfer(Pipe pipe, Input input, Output output, int number, boolean repeated, IdStrategy strategy)
Transfers theEnum
from the input to the output.protected abstract void
Field. transfer(Pipe pipe, Input input, Output output, boolean repeated)
Transfer the input field to the output field.protected void
RuntimePipeSchema. transfer(Pipe pipe, Input input, Output output)
(package private) static void
ObjectSchema. transferArray(Pipe pipe, Input input, Output output, int number, Pipe.Schema<?> pipeSchema, boolean mapped, IdStrategy strategy)
(package private) static void
ObjectSchema. transferClass(Pipe pipe, Input input, Output output, int number, Pipe.Schema<?> pipeSchema, boolean mapped, boolean array, IdStrategy strategy)
(package private) static void
ArraySchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
ArraySchemas. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, Delegate<?> delegate)
(package private) static void
ClassSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
NumberSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
ObjectSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
PolymorphicCollectionSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
PolymorphicCollectionSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number)
(package private) static void
PolymorphicEnumSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
PolymorphicMapSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
PolymorphicMapSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number)
(package private) static void
PolymorphicPojoCollectionSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
PolymorphicPojoCollectionSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number)
(package private) static void
PolymorphicPojoMapSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
PolymorphicPojoMapSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number)
(package private) static void
PolymorphicPojoSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
PolymorphicPojoSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number)
(package private) static void
PolymorphicThrowableSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
(package private) static void
PolymorphicThrowableSchema. transferObject(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number)
(package private) static void
PolymorphicMapSchema. transferSingletonMap(Pipe.Schema<java.lang.Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy)
protected abstract void
RuntimeCollectionField. transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated)
protected abstract void
RuntimeMapField. vTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated)
-