You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2017/09/11 07:42:47 UTC

[20/50] [abbrv] hbase git commit: HBASE-18779 Move CompareOperator to hbase-client module

HBASE-18779 Move CompareOperator to hbase-client module


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c90602ef
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c90602ef
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c90602ef

Branch: refs/heads/HBASE-18467
Commit: c90602ef67d490205098f11bff57ec31a6ac6f87
Parents: b8e0a83
Author: Michael Stack <st...@apache.org>
Authored: Fri Sep 8 10:18:32 2017 -0700
Committer: Michael Stack <st...@apache.org>
Committed: Fri Sep 8 10:19:10 2017 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hbase/CompareOperator.java    | 44 ++++++++++++++++++++
 .../apache/hadoop/hbase/CompareOperator.java    | 44 --------------------
 2 files changed, 44 insertions(+), 44 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/c90602ef/hbase-client/src/main/java/org/apache/hadoop/hbase/CompareOperator.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/CompareOperator.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/CompareOperator.java
new file mode 100644
index 0000000..46fa55d
--- /dev/null
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/CompareOperator.java
@@ -0,0 +1,44 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 org.apache.hadoop.hbase;
+
+import org.apache.hadoop.hbase.classification.InterfaceAudience;
+
+/**
+ * Generic set of comparison operators.
+ * @since 2.0.0
+ */
+@InterfaceAudience.Public
+public enum CompareOperator {
+  // Keeps same names as the enums over in filter's CompareOp intentionally.
+  // The convertion of operator to protobuf representation is via a name comparison.
+  /** less than */
+  LESS,
+  /** less than or equal to */
+  LESS_OR_EQUAL,
+  /** equals */
+  EQUAL,
+  /** not equal */
+  NOT_EQUAL,
+  /** greater than or equal to */
+  GREATER_OR_EQUAL,
+  /** greater than */
+  GREATER,
+  /** no operation */
+  NO_OP,
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/hbase/blob/c90602ef/hbase-common/src/main/java/org/apache/hadoop/hbase/CompareOperator.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CompareOperator.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CompareOperator.java
deleted file mode 100644
index 46fa55d..0000000
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CompareOperator.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you 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 org.apache.hadoop.hbase;
-
-import org.apache.hadoop.hbase.classification.InterfaceAudience;
-
-/**
- * Generic set of comparison operators.
- * @since 2.0.0
- */
-@InterfaceAudience.Public
-public enum CompareOperator {
-  // Keeps same names as the enums over in filter's CompareOp intentionally.
-  // The convertion of operator to protobuf representation is via a name comparison.
-  /** less than */
-  LESS,
-  /** less than or equal to */
-  LESS_OR_EQUAL,
-  /** equals */
-  EQUAL,
-  /** not equal */
-  NOT_EQUAL,
-  /** greater than or equal to */
-  GREATER_OR_EQUAL,
-  /** greater than */
-  GREATER,
-  /** no operation */
-  NO_OP,
-}
\ No newline at end of file