Uses of Class
io.protostuff.Pipe
Packages that use Pipe
-
Uses of Pipe in io.protostuff
Methods in io.protostuff that return PipeModifier and TypeMethodDescriptionPipe.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
(InputStream in, boolean numeric) Creates a json pipe from anInputStream
.static Pipe
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
(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
(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
(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
(InputStream in) Creates an xml pipe from anInputStream
.static Pipe
Creates an xml pipe from aReader
.static Pipe
XmlIOUtil.newPipe
(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 PipeMethods in io.protostuff with parameters of type PipeModifier and TypeMethodDescriptionboolean
Pipe.Schema.isInitialized
(Pipe message) Always returns true since we're just transferring data.final void
protected abstract void
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) final void
-
Uses of Pipe in io.protostuff.runtime
Methods in io.protostuff.runtime with parameters of type PipeModifier and TypeMethodDescriptionprotected abstract void
void
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
Transfer the input field to the output field.protected void
(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<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
ArraySchemas.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, Delegate<?> delegate) (package private) static void
ClassSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
NumberSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
ObjectSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
PolymorphicCollectionSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
PolymorphicCollectionSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number) (package private) static void
PolymorphicEnumSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
PolymorphicMapSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
PolymorphicMapSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number) (package private) static void
PolymorphicPojoCollectionSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
PolymorphicPojoCollectionSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number) (package private) static void
PolymorphicPojoMapSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
PolymorphicPojoMapSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number) (package private) static void
PolymorphicPojoSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
PolymorphicPojoSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number) (package private) static void
PolymorphicThrowableSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) (package private) static void
PolymorphicThrowableSchema.transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number) (package private) static void
PolymorphicMapSchema.transferSingletonMap
(Pipe.Schema<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