1 Class API

Class Ax.rs.Reader


ResulSetReader -

Constructor Summary

MethodDescription
JSResultSetReader()

Method Detail

JSResultSetReader

 JSResultSetReader()

build

                        SQLResultSetArray build(List src)
Info:
<script>
Parameters:
src - 
Returns:

Example
Copy
var rows = [
 		[1, "A", 1.3 ],
		[2, "B", 2.6 ],
		[3, "C", 3.9 ],
		];
		var rs = new Ax.rs.Reader().build(rows);
		var rs = new Ax.rs.Reader().build(rows, options - {options.setColumnNames(["a", "b", "c"])});
		console.log(rs);

build

                        SQLResultSetArray build(List src, Consumer<MemoryImportOptions> config)
Parameters:
src - 
config - 
Returns:

csv

                        SQLResultSetArray csv(File file)
Parameters:
file - 
Returns:

csv

                        SQLResultSetArray csv(URL url)
Parameters:
url - 
Returns:

csv

                        SQLResultSetArray csv(InputStream is)
Parameters:
is - 
Returns:

csv

                        SQLResultSetArray csv(CSVImportOptions options)
Parameters:
options - 
Returns:

csv

                        SQLResultSetArray csv(Consumer<CSVImportOptions> options)
Parameters:
options - 
Returns:

db

                        SQLResultSetArray db(Consumer<DBImportOptions> config)
Parameters:
config - 
Returns:

excel

                        SQLResultSetArray excel(File file)
Parameters:
file - 
Returns:

excel

                        SQLResultSetArray excel(URL url)
Parameters:
url - 
Returns:

excel

                        SQLResultSetArray excel(InputStream is)
Parameters:
is - 
Returns:

excel

                        SQLResultSetArray excel(Consumer<ExcelImportOptions> config)
Parameters:
config - 
Returns:

excel

                        SQLResultSetArray excel(ExcelImportOptions options)
Parameters:
options - 
Returns:

json

                        SQLResultSetArray json(Consumer<JSONImportOptions> config)
Parameters:
config - 
Returns:

memory

                        SQLResultSetArray memory(MemoryImportOptions options)
Parameters:
options - 
Returns:

memory

                        SQLResultSetArray memory(Consumer<MemoryImportOptions> config)
Parameters:
config - 
Returns:

text

                        SQLResultSetArray text(Consumer<TextImportOptions> config)
Parameters:
config - 
Returns: