@Override protected void vTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, valuePipeSchema, repeated); } };
@Override protected void kTo(Output output, int fieldNumber, Object key, boolean repeated) throws IOException { output.writeObject(fieldNumber, key, keySchema, repeated); }
@Override protected void vTo(Output output, int fieldNumber, Object val, boolean repeated) throws IOException { output.writeObject(fieldNumber, val, valueSchema, repeated); }
@Override protected void transfer(Pipe pipe, Input input, Output output, boolean repeated) throws IOException { output.writeObject(number, pipe, schema.pipeSchema, repeated); }
@Override protected void transfer(Pipe pipe, Input input, Output output, boolean repeated) throws IOException { output.writeObject(number, pipe, schema.pipeSchema, repeated); }
@Override protected void vTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, strategy.POLYMORPHIC_POJO_ELEMENT_SCHEMA.pipeSchema, repeated); } };
@Override protected void vTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, valuePipeSchema, repeated); } };
@Override protected void transfer(Pipe pipe, Input input, Output output, boolean repeated) throws IOException { output.writeObject(number, pipe, schema.pipeSchema, repeated); }
@Override protected void transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, strategy.POLYMORPHIC_POJO_ELEMENT_SCHEMA.pipeSchema, repeated); } };
@Override protected void writeValueTo(Output output, int fieldNumber, Object value, boolean repeated) throws IOException { output.writeObject(fieldNumber, value, valueSchema, repeated); }
@Override protected void transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, valuePipeSchema, repeated); } };
@Override public void writeTo(Output output, Entry<Object, Object> entry) throws IOException { if (entry.getKey() != null) output.writeObject(1, entry.getKey(), DYNAMIC_VALUE_SCHEMA, false); if (entry.getValue() != null) output.writeObject(2, entry.getValue(), DYNAMIC_VALUE_SCHEMA, false); } };
@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 kTo(Output output, int fieldNumber, Object key, boolean repeated) throws IOException { output.writeObject(fieldNumber, key, schemaK.getSchema(), 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 { if (vPipeSchema == null) { throw new RuntimeException("No pipe schema for value: " + vSchema.typeClass().getName()); } output.writeObject(number, pipe, vPipeSchema, repeated); }
@Override protected void writeTo(Output output, T message) throws IOException { final Collection<Enum<?>> existing = accessor.get(message); if (existing != null) output.writeObject(number, existing, schema, false); }
@Override protected void writeTo(Output output, T message) throws IOException { final Collection<Object> existing = accessor.get(message); if (existing != null) output.writeObject(number, existing, schema, false); }
@Override protected void writeTo(Output output, T message) throws IOException { final Collection<Object> existing = accessor.get(message); if (existing != null) output.writeObject(number, existing, schema, false); }
@Override protected void writeTo(Output output, T message) throws IOException { final Collection<Object> existing = accessor.get(message); if (existing != null) output.writeObject(number, existing, schema, false); }