You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by ka...@apache.org on 2015/08/28 00:32:27 UTC
[2/7] storm git commit: STORM-974 fix filename case sensitivity
STORM-974 fix filename case sensitivity
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/23043898
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/23043898
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/23043898
Branch: refs/heads/master
Commit: 230438988f6b7a42eae3b146549c22db0cfe2add
Parents: 1f93a3f
Author: Jungtaek Lim <ka...@gmail.com>
Authored: Wed Aug 12 23:03:01 2015 +0900
Committer: Jungtaek Lim <ka...@gmail.com>
Committed: Wed Aug 12 23:03:01 2015 +0900
----------------------------------------------------------------------
.../elasticsearch/common/ESTupleMapper.java | 55 --------------------
.../elasticsearch/common/EsTupleMapper.java | 55 ++++++++++++++++++++
2 files changed, 55 insertions(+), 55 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/23043898/external/storm-elasticsearch/src/main/java/org/apache/storm/elasticsearch/common/ESTupleMapper.java
----------------------------------------------------------------------
diff --git a/external/storm-elasticsearch/src/main/java/org/apache/storm/elasticsearch/common/ESTupleMapper.java b/external/storm-elasticsearch/src/main/java/org/apache/storm/elasticsearch/common/ESTupleMapper.java
deleted file mode 100644
index f8a66bd..0000000
--- a/external/storm-elasticsearch/src/main/java/org/apache/storm/elasticsearch/common/ESTupleMapper.java
+++ /dev/null
@@ -1,55 +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.storm.elasticsearch.common;
-
-import backtype.storm.tuple.ITuple;
-
-import java.io.Serializable;
-
-/**
- * TupleMapper defines how to extract source, index, type, and id from tuple for ElasticSearch.
- */
-public interface EsTupleMapper extends Serializable {
- /**
- * Extracts source from tuple.
- * @param tuple source tuple
- * @return source
- */
- String getSource(ITuple tuple);
-
- /**
- * Extracts index from tuple.
- * @param tuple source tuple
- * @return index
- */
- String getIndex(ITuple tuple);
-
- /**
- * Extracts type from tuple.
- * @param tuple source tuple
- * @return type
- */
- String getType(ITuple tuple);
-
- /**
- * Extracts id from tuple.
- * @param tuple source tuple
- * @return id
- */
- String getId(ITuple tuple);
-}
http://git-wip-us.apache.org/repos/asf/storm/blob/23043898/external/storm-elasticsearch/src/main/java/org/apache/storm/elasticsearch/common/EsTupleMapper.java
----------------------------------------------------------------------
diff --git a/external/storm-elasticsearch/src/main/java/org/apache/storm/elasticsearch/common/EsTupleMapper.java b/external/storm-elasticsearch/src/main/java/org/apache/storm/elasticsearch/common/EsTupleMapper.java
new file mode 100644
index 0000000..f8a66bd
--- /dev/null
+++ b/external/storm-elasticsearch/src/main/java/org/apache/storm/elasticsearch/common/EsTupleMapper.java
@@ -0,0 +1,55 @@
+/**
+ * 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.storm.elasticsearch.common;
+
+import backtype.storm.tuple.ITuple;
+
+import java.io.Serializable;
+
+/**
+ * TupleMapper defines how to extract source, index, type, and id from tuple for ElasticSearch.
+ */
+public interface EsTupleMapper extends Serializable {
+ /**
+ * Extracts source from tuple.
+ * @param tuple source tuple
+ * @return source
+ */
+ String getSource(ITuple tuple);
+
+ /**
+ * Extracts index from tuple.
+ * @param tuple source tuple
+ * @return index
+ */
+ String getIndex(ITuple tuple);
+
+ /**
+ * Extracts type from tuple.
+ * @param tuple source tuple
+ * @return type
+ */
+ String getType(ITuple tuple);
+
+ /**
+ * Extracts id from tuple.
+ * @param tuple source tuple
+ * @return id
+ */
+ String getId(ITuple tuple);
+}