James Ahlborn
4feb8fbfd1
Implement support for partial index lookups. Efficient IndexCursor lookups can now be done with multi-column indexes using only some of the columns in the index.
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1087 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
14353b569b
change regex to compile on first use; turn invalid pattern into unmatchable regex; add some like pattern tests
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1085 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
James Ahlborn
756b707c2a
better terminology for expressions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1080 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
James Ahlborn
b677a33262
start testing simple math exprs
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1072 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
c42fa3b60a
add result caching for pure expressions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1071 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
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 anos atrás
James Ahlborn
b0992869c0
add method for indicating purity of an expression, possible use for future caching
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1069 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
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 anos atrás
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 anos atrás
James Ahlborn
5ae4421b4c
ditch extra import
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1066 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
0114aa89c5
update parent pom; various plugin updates
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1065 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
54e11ab100
minor compilation cleanups
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1064 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
5016a79ca5
use column names in error message
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1063 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
c42fa05959
prep for release
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1059 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
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 anos atrás
James Ahlborn
e4c2cde994
better fix for switching read-only file formats to read-only mode, wrap with read-only FileChannel. fixes feature #34
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1057 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
a30708e2ce
Add support for global usage maps which are reference type maps. fixes issue #138
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1056 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
7b8f4c32d5
automatically switch to read-only mode when opening a file format which does not support writing, fixes feature #34
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1055 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
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 anos atrás
James Ahlborn
46926ceb6f
test parsing of basic expressions
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1053 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
bfb89dcfc2
parse between expr
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1052 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
87449dd32a
handle order of ops for other types of exprs
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1051 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
d0a4733bea
convert all ops to enum values
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1050 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
0e45bbe93d
fix handling of equivalent precedence
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1049 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
26c20f9517
add debug to strings to start enabling some testing
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1048 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
332ec655a5
start implementing some special operators
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1047 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
467aff1ce9
move expr type info into TokBuf
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1045 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
d12da09daf
prepare for release
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1041 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
c49b4c927c
make delims separate token type; implement parsing of more expr types
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1040 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
23687e2d77
parse some operators
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1039 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
6fbbe53848
impl obj ref parsing
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1038 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
7ae65eeb68
impl expr tokenization
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1037 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
f8212d111e
misc cleanups; doc updates
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1034 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
09a70b9f24
update docs for new metadata update support
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1033 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
545c026985
more update tests; fix minor bug with allocating new usage maps
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1032 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
4de28cb4f6
update javadocs, minor cleanups
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1030 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
8fdd98bd2a
expand unit tests
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1029 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
fb78ea1075
remove debug output
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1028 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
c41e88f465
ensure unique rel name and limit total length
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1027 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
e651d85f15
add some unit tests
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1026 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás
James Ahlborn
70eb4cc43c
minor cleanups
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1024 f203690c-595d-4dc9-a70b-905162fa7fd2
7 anos atrás