aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/iciql/Bitwise.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2017-01-30 16:38:24 -0500
committerJames Moger <james.moger@gitblit.com>2017-01-30 16:46:03 -0500
commit0a8fd25fd85b28c804e4c81c90bd35fdb2e57a66 (patch)
tree44a0ba94fc3ae9199dd1feb44413b0b9947c3451 /src/main/java/com/iciql/Bitwise.java
parentcf7ea9600595749065129d48fbdff6f781db87b3 (diff)
downloadiciql-0a8fd25fd85b28c804e4c81c90bd35fdb2e57a66.tar.gz
iciql-0a8fd25fd85b28c804e4c81c90bd35fdb2e57a66.zip
Added bitwise AND and XOR DSL for where clauses
Diffstat (limited to 'src/main/java/com/iciql/Bitwise.java')
-rw-r--r--src/main/java/com/iciql/Bitwise.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/main/java/com/iciql/Bitwise.java b/src/main/java/com/iciql/Bitwise.java
new file mode 100644
index 0000000..a2d1da5
--- /dev/null
+++ b/src/main/java/com/iciql/Bitwise.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2017 James Moger.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.iciql;
+
+/**
+ * @author James Moger
+ */
+public interface Bitwise<A, T> {
+
+ QueryWhere<T> exceeds(A y);
+
+ QueryWhere<T> atLeast(A y);
+
+ QueryWhere<T> lessThan(A y);
+
+ QueryWhere<T> atMost(A y);
+}