/** * Returns the schema. */ public Schema<P> getSchema() { return hasSchema.getSchema(); }
/** * Returns the lazy initialized pipe schema. */ public Pipe.Schema<P> getPipeSchema() { return hasSchema.getPipeSchema(); }
return strategy.getSchemaWrapper(ct, true).newSchema(typeClass, strategy, handler);
return strategy.getSchemaWrapper(ct, true).newSchema(typeClass, strategy, handler);
/** * Returns the schema. */ public Schema<P> getSchema() { return hasSchema.getSchema(); }
/** * Returns the lazy initialized pipe schema. */ public Pipe.Schema<P> getPipeSchema() { return hasSchema.getPipeSchema(); }
@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 Object kFrom(Input input, MapWrapper<Object, Object> wrapper) throws IOException { return input.mergeObject(null, schemaK.getSchema()); }
@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 Object kFrom(Input input, MapWrapper<Object, Enum<?>> wrapper) throws IOException { return input.mergeObject(null, schemaK.getSchema()); }
@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 vTo(Output output, int fieldNumber, Object val, boolean repeated) throws IOException { output.writeObject(fieldNumber, val, schemaV.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 kTo(Output output, int fieldNumber, Object key, boolean repeated) throws IOException { output.writeObject(fieldNumber, key, schemaK.getSchema(), 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 vTo(Output output, int fieldNumber, Object val, boolean repeated) throws IOException { output.writeObject(fieldNumber, val, schemaV.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 Object kFrom(Input input, MapWrapper<Object, Object> wrapper) throws IOException { return input.mergeObject(null, schemaK.getSchema()); }
@Override protected void kTransfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeObject(number, pipe, schemaK.getPipeSchema(), repeated); }