/** * Returns the lazy initialized pipe schema. */ public Pipe.Schema<P> getPipeSchema() { return hasSchema.getPipeSchema(); }
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }
@Override protected void transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaV.getPipeSchema(), repeated); } };
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }
@Override protected void vTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaV.getPipeSchema(), repeated); } };
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }
@Override protected void transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaV.getPipeSchema(), repeated); } };
@Override protected void vTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaV.getPipeSchema(), repeated); } };
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }
@Override protected void vTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaV.getPipeSchema(), repeated); } };
@Override protected void vTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaV.getPipeSchema(), repeated); } };
@Override protected void vTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaV.getPipeSchema(), repeated); } };
@Override protected void vTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaV.getPipeSchema(), repeated); } };
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }
static void transferObject(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, int number) throws IOException { final Pipe.Schema<Object> derivedPipeSchema = strategy.transferPojoId( input, output, number).getPipeSchema(); if (output instanceof StatefulOutput) { // update using the derived schema. ((StatefulOutput) output).updateLast(derivedPipeSchema, pipeSchema); } Pipe.transferDirect(derivedPipeSchema, pipe, input, output); }