echebbi / datatable Goto Github PK
View Code? Open in Web Editor NEWHeterogeneous and type-safe table structure
License: Apache License 2.0
Heterogeneous and type-safe table structure
License: Apache License 2.0
As of now, the library cannot be set as a dependency through POM.xml
This should be fixed once code coverage becomes sufficient.
As of now, calling a method with improper arguments leads to a non-explicit exception.
This must be replaced by either
The Query DSL does not allow to express easily OR conditions.
For instance, in order to keep the rows where the value of the column "A" is either null or a string in lower case, we have to write :
Query
.select()
.from(table)
.where("A").asStr().match(str -> str == null || str.equals(str.toLowerCase());
The built-in methods such as isInstanceOf
,in
or isTrue
cannot be used anymore and must be re-written by the user.
It would be better to write something like :
Query
.select()
.from(table)
.where("A").isNull().or().asStr().isInLowerCase();
or even :
Query
.select()
.from(table)
.where("A").asStr().match(str -> str.isNull() || str.isInLowerCase());
instead.
Either way, the current DSL makes predicate composition difficult and should be adapted.
The following code:
Query
.from(people)
.where(n(AGE));
does not compile with javac
. The compiler is complaining that:
the method where is ambiguous: the methods
where(ColumnId<T>),
where(ColumnOfNumbers<T>)
both match
Considering that:
n
clearly returns a ColumnOfNumbers
,ColumnOfNumbers
inherits from ColumnId
I'd assume that javac
was able to manage this situation... Apparently not.
Current classes are not tested.
It would be great to add some tests in order to validate current implementation and to avoid possible regressions in future commits.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.