Class TableWriter
java.lang.Object
org.gridgain.internal.sql.copy.table.TableWriter
- All Implemented Interfaces:
AutoCloseable,Writer
A writer that writes data to an ignite table.
-
Constructor Summary
ConstructorsConstructorDescriptionTableWriter(org.apache.ignite.internal.table.distributed.TableManager mgr, org.apache.ignite.internal.sql.engine.prepare.copy.CopyLocationTable location, List<org.apache.ignite.internal.schema.Column> columns, int batchSize, ExecutorService executor) Constructor. -
Method Summary
-
Constructor Details
-
TableWriter
public TableWriter(org.apache.ignite.internal.table.distributed.TableManager mgr, org.apache.ignite.internal.sql.engine.prepare.copy.CopyLocationTable location, List<org.apache.ignite.internal.schema.Column> columns, int batchSize, ExecutorService executor) Constructor.
-
-
Method Details
-
write
Description copied from interface:WriterWrites the given item to the write destination.- Specified by:
writein interfaceWriter- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-