public class ExcelClientImpl extends Object implements ExcelClient
ENVIRONMENT, MAPPING, PEN| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.Future<io.vertx.core.buffer.Buffer> |
exportAsync(String identifier,
io.vertx.core.json.JsonArray data) |
ExcelClient |
exportAsync(String identifier,
io.vertx.core.json.JsonArray data,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler) |
io.vertx.core.Future<io.vertx.core.buffer.Buffer> |
exportAsync(String identifier,
io.vertx.core.json.JsonArray data,
io.vertx.up.commune.element.TypeAtom typeAtom) |
ExcelClient |
exportAsync(String identifier,
io.vertx.core.json.JsonArray data,
io.vertx.up.commune.element.TypeAtom typeAtom,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler) |
<T> io.vertx.core.Future<Set<T>> |
importAsync(InputStream in,
boolean isXlsx) |
<T> ExcelClient |
importAsync(InputStream in,
boolean isXlsx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler) |
<T> ExcelClient |
importAsync(InputStream in,
boolean isXlsx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler,
String... includes) |
<T> io.vertx.core.Future<Set<T>> |
importAsync(InputStream in,
boolean isXlsx,
String... includes) |
<T> io.vertx.core.Future<Set<T>> |
importAsync(InputStream in,
boolean isXlsx,
io.vertx.up.commune.element.TypeAtom typeAtom) |
<T> ExcelClient |
importAsync(InputStream in,
boolean isXlsx,
io.vertx.up.commune.element.TypeAtom typeAtom,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler) |
<T> ExcelClient |
importAsync(InputStream in,
boolean isXlsx,
io.vertx.up.commune.element.TypeAtom typeAtom,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler,
String... includes) |
<T> io.vertx.core.Future<Set<T>> |
importAsync(InputStream in,
boolean isXlsx,
io.vertx.up.commune.element.TypeAtom typeAtom,
String... includes) |
<T> io.vertx.core.Future<Set<T>> |
importAsync(String filename) |
<T> ExcelClient |
importAsync(String filename,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
1) Api for ingest of parameters, the matrix is as following | filename/input-stream | 2003/2007 | Shape | Async | | filename | by extension ( .xls, .xlsx ) | x | true | | input-stream | isXlsx, true for 2007 | x | true | | filename | by extension ( .xls, .xlsx ) | V | true | | input-stream | isXlsx, true for 2007 | V | true |
|
<T> ExcelClient |
importAsync(String filename,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler,
String... includes) |
<T> io.vertx.core.Future<Set<T>> |
importAsync(String filename,
String... includes) |
<T> io.vertx.core.Future<Set<T>> |
importAsync(String filename,
io.vertx.up.commune.element.TypeAtom typeAtom) |
<T> ExcelClient |
importAsync(String filename,
io.vertx.up.commune.element.TypeAtom typeAtom,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler) |
<T> ExcelClient |
importAsync(String filename,
io.vertx.up.commune.element.TypeAtom typeAtom,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler,
String... includes) |
<T> io.vertx.core.Future<Set<T>> |
importAsync(String filename,
io.vertx.up.commune.element.TypeAtom typeAtom,
String... includes) |
Set<ExTable> |
ingest(InputStream in,
boolean isXlsx) |
ExcelClient |
ingest(InputStream in,
boolean isXlsx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler) |
Set<ExTable> |
ingest(InputStream in,
boolean isXlsx,
io.vertx.up.commune.element.TypeAtom typeAtom) |
ExcelClient |
ingest(InputStream in,
boolean isXlsx,
io.vertx.up.commune.element.TypeAtom typeAtom,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler) |
Set<ExTable> |
ingest(String filename)
1) Api for ingest of parameters, the matrix is as following | filename/input-stream | 2003/2007 | Shape | Async | | filename | by extension ( .xls, .xlsx ) | x | false | | input-stream | isXlsx, true for 2007 | x | false | | filename | by extension ( .xls, .xlsx ) | V | false | | input-stream | isXlsx, true for 2007 | V | false | | filename | by extension ( .xls, .xlsx ) | x | true | | input-stream | isXlsx, true for 2007 | x | true | | filename | by extension ( .xls, .xlsx ) | V | true | | input-stream | isXlsx, true for 2007 | V | true |
|
ExcelClient |
ingest(String filename,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler) |
Set<ExTable> |
ingest(String filename,
io.vertx.up.commune.element.TypeAtom typeAtom) |
ExcelClient |
ingest(String filename,
io.vertx.up.commune.element.TypeAtom typeAtom,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler) |
io.vertx.core.Future<Set<ExTable>> |
ingestAsync(InputStream in,
boolean isXlsx) |
io.vertx.core.Future<Set<ExTable>> |
ingestAsync(InputStream in,
boolean isXlsx,
io.vertx.up.commune.element.TypeAtom typeAtom) |
io.vertx.core.Future<Set<ExTable>> |
ingestAsync(String filename) |
io.vertx.core.Future<Set<ExTable>> |
ingestAsync(String filename,
io.vertx.up.commune.element.TypeAtom typeAtom) |
ExcelClient |
init(io.vertx.core.json.JsonObject config) |
<T> T |
saveEntity(io.vertx.core.json.JsonObject data,
ExTable table)
Save entity ( table -> data )
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSharedpublic ExcelClient init(io.vertx.core.json.JsonObject config)
init in interface ExcelClientinit in interface io.vertx.up.plugin.TpClient<ExcelClient>public Set<ExTable> ingest(String filename)
1) Api for ingest of parameters, the matrix is as following | filename/input-stream | 2003/2007 | Shape | Async | | filename | by extension ( .xls, .xlsx ) | x | false | | input-stream | isXlsx, true for 2007 | x | false | | filename | by extension ( .xls, .xlsx ) | V | false | | input-stream | isXlsx, true for 2007 | V | false | | filename | by extension ( .xls, .xlsx ) | x | true | | input-stream | isXlsx, true for 2007 | x | true | | filename | by extension ( .xls, .xlsx ) | V | true | | input-stream | isXlsx, true for 2007 | V | true |
2) 12 mode of ingest here 2.1) The input contains two categories: – 1. InputStream for byte array input, in this mode, you must provide isXlsx parameter – 2. filename of input, the format should be distinguish by file extension .xls for 2003, .xlsx for 2007 2.2) The Shape contains Dynamic importing in Ox channel or other build Shape object, it contains type definition 2.2) async contains ( Sync, Callback, Future ) three mode
ingest in interface ExcelClientpublic Set<ExTable> ingest(String filename, io.vertx.up.commune.element.TypeAtom typeAtom)
ingest in interface ExcelClientpublic Set<ExTable> ingest(InputStream in, boolean isXlsx)
ingest in interface ExcelClientpublic Set<ExTable> ingest(InputStream in, boolean isXlsx, io.vertx.up.commune.element.TypeAtom typeAtom)
ingest in interface ExcelClientpublic io.vertx.core.Future<Set<ExTable>> ingestAsync(String filename)
ingestAsync in interface ExcelClientpublic io.vertx.core.Future<Set<ExTable>> ingestAsync(String filename, io.vertx.up.commune.element.TypeAtom typeAtom)
ingestAsync in interface ExcelClientpublic io.vertx.core.Future<Set<ExTable>> ingestAsync(InputStream in, boolean isXlsx)
ingestAsync in interface ExcelClientpublic io.vertx.core.Future<Set<ExTable>> ingestAsync(InputStream in, boolean isXlsx, io.vertx.up.commune.element.TypeAtom typeAtom)
ingestAsync in interface ExcelClientpublic ExcelClient ingest(String filename, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler)
ingest in interface ExcelClientpublic ExcelClient ingest(String filename, io.vertx.up.commune.element.TypeAtom typeAtom, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler)
ingest in interface ExcelClientpublic ExcelClient ingest(InputStream in, boolean isXlsx, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler)
ingest in interface ExcelClientpublic ExcelClient ingest(InputStream in, boolean isXlsx, io.vertx.up.commune.element.TypeAtom typeAtom, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler)
ingest in interface ExcelClientpublic <T> ExcelClient importAsync(String filename, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
1) Api for ingest of parameters, the matrix is as following | filename/input-stream | 2003/2007 | Shape | Async | | filename | by extension ( .xls, .xlsx ) | x | true | | input-stream | isXlsx, true for 2007 | x | true | | filename | by extension ( .xls, .xlsx ) | V | true | | input-stream | isXlsx, true for 2007 | V | true |
2) 12 mode of ingest here 2.1) The input contains two categories: – 1. InputStream for byte array input, in this mode, you must provide isXlsx parameter – 2. filename of input, the format should be distinguish by file extension .xls for 2003, .xlsx for 2007 2.2) The Shape contains Dynamic importing in Ox channel or other build Shape object, it contains type definition 2.2) async contains ( Sync, Callback, Future ) three mode
importAsync in interface ExcelClientpublic <T> ExcelClient importAsync(InputStream in, boolean isXlsx, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
importAsync in interface ExcelClientpublic <T> ExcelClient importAsync(String filename, io.vertx.up.commune.element.TypeAtom typeAtom, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
importAsync in interface ExcelClientpublic <T> ExcelClient importAsync(InputStream in, boolean isXlsx, io.vertx.up.commune.element.TypeAtom typeAtom, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
importAsync in interface ExcelClientpublic <T> io.vertx.core.Future<Set<T>> importAsync(String filename)
importAsync in interface ExcelClientpublic <T> io.vertx.core.Future<Set<T>> importAsync(String filename, io.vertx.up.commune.element.TypeAtom typeAtom)
importAsync in interface ExcelClientpublic <T> io.vertx.core.Future<Set<T>> importAsync(InputStream in, boolean isXlsx)
importAsync in interface ExcelClientpublic <T> io.vertx.core.Future<Set<T>> importAsync(InputStream in, boolean isXlsx, io.vertx.up.commune.element.TypeAtom typeAtom)
importAsync in interface ExcelClientpublic <T> ExcelClient importAsync(String filename, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler, String... includes)
importAsync in interface ExcelClientpublic <T> ExcelClient importAsync(String filename, io.vertx.up.commune.element.TypeAtom typeAtom, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler, String... includes)
importAsync in interface ExcelClientpublic <T> ExcelClient importAsync(InputStream in, boolean isXlsx, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler, String... includes)
importAsync in interface ExcelClientpublic <T> ExcelClient importAsync(InputStream in, boolean isXlsx, io.vertx.up.commune.element.TypeAtom typeAtom, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler, String... includes)
importAsync in interface ExcelClientpublic <T> io.vertx.core.Future<Set<T>> importAsync(String filename, String... includes)
importAsync in interface ExcelClientpublic <T> io.vertx.core.Future<Set<T>> importAsync(String filename, io.vertx.up.commune.element.TypeAtom typeAtom, String... includes)
importAsync in interface ExcelClientpublic <T> io.vertx.core.Future<Set<T>> importAsync(InputStream in, boolean isXlsx, String... includes)
importAsync in interface ExcelClientpublic <T> io.vertx.core.Future<Set<T>> importAsync(InputStream in, boolean isXlsx, io.vertx.up.commune.element.TypeAtom typeAtom, String... includes)
importAsync in interface ExcelClientpublic ExcelClient exportAsync(String identifier, io.vertx.core.json.JsonArray data, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler)
exportAsync in interface ExcelClientpublic ExcelClient exportAsync(String identifier, io.vertx.core.json.JsonArray data, io.vertx.up.commune.element.TypeAtom typeAtom, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler)
exportAsync in interface ExcelClientpublic io.vertx.core.Future<io.vertx.core.buffer.Buffer> exportAsync(String identifier, io.vertx.core.json.JsonArray data, io.vertx.up.commune.element.TypeAtom typeAtom)
exportAsync in interface ExcelClientpublic io.vertx.core.Future<io.vertx.core.buffer.Buffer> exportAsync(String identifier, io.vertx.core.json.JsonArray data)
exportAsync in interface ExcelClientpublic <T> T saveEntity(io.vertx.core.json.JsonObject data,
ExTable table)
ExcelClientSave entity ( table -> data )
saveEntity in interface ExcelClientCopyright © 2021. All rights reserved.