Sha256: 2ddc850471bdc374a08cd1eaa9e8f0c4ed1da5dbddc31d984176401ecf32ec41
Contents?: true
Size: 416 Bytes
Versions: 6
Compression:
Stored size: 416 Bytes
Contents
module Embulk class PageBuilder def initialize(schema, java_page_output) @page_builder = Java::PageBuilder.new(Java::Injected::BufferAllocator, schema.java_object, java_page_output) @schema = schema end def add(record) @schema.write_record(@page_builder, record) end def finish @page_builder.finish end def close @page_builder.close end end end
Version data entries
6 entries across 6 versions & 1 rubygems