James Ahlborn
443c9fef2b
rework public expression api with better locale handling; support parsing of number strings with grouping separators
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1203 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
1236f27d91
refactor support for working with Value instances
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1192 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
abe506f27c
test number functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1183 f203690c-595d-4dc9-a70b-905162fa7fd2
5 years ago
James Ahlborn
17d5d661ac
add more tests; add not like
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1178 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
6d200f6948
implement floating point number formatting which matches access
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1159 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
09d03800ce
use decimal math context which matches access precision; tweak string to number conversion to match access
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1156 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
2ff5d06acd
normalize decimals when used; convert number literals to decimal instead of double; handle int overflow for number literals
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1155 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
1a8771e555
plug expr evaluation into columns/tables; create Identifier for tracking expression ids; support single quoting in expressions; tweak string to number coercion; implement topo sorter for calc col eval
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1148 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
9908a0afe9
use specific exceptions for expr eval
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1146 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
774d505946
long type should be int values; implement more date/time and misc other functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1120 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
8eb5fe91d9
implement some date/time functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1119 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
1f7373e77b
split out function groups; implement numeric functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1117 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
8368b87ccd
implement a bunch of functions which really need unit tests; add support for calculated field expressions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1113 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
32fc3f8076
implement various functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1112 f203690c-595d-4dc9-a70b-905162fa7fd2
6 years ago
James Ahlborn
631911dcf1
add more type coercion, string and date to num
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1084 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
c70c26bed9
support string to number coercion for mixed math operations
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1083 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
4a5f749ee5
add date time Value accessor
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1081 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
42344d756b
add TemporalConfig to allow for custom expression date/time formats
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1079 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
9664daf8b3
ditch BIG_INT value type
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1077 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
68c982c48f
change evaluation context
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1076 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
1260b3bff1
use isNull
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1075 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
955e2d2a82
Value cleanup, start on functions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1074 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
6b30533a27
add testing for most basic math and fix some edge case logic
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1073 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
820f44da14
implement more operations
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1070 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
ea7b355f89
ditch boolean type
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1068 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
8cab4c878d
checkpoint reworking expression classes and implementing many basic operations
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1067 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
fdeff8480b
reorg of expression classes
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1058 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago
James Ahlborn
874edea4ed
rework classes, add more interfaces; start implementing builtin functions using Value type
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1054 f203690c-595d-4dc9-a70b-905162fa7fd2
7 years ago