You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2015/02/13 13:54:46 UTC

svn commit: r1659547 - /tika/trunk/tika-core/src/main/java/org/apache/tika/metadata/Database.java

Author: tallison
Date: Fri Feb 13 12:54:45 2015
New Revision: 1659547

URL: http://svn.apache.org/r1659547
Log:
TIKA-1511, third time is the charm...many apologies

Added:
    tika/trunk/tika-core/src/main/java/org/apache/tika/metadata/Database.java

Added: tika/trunk/tika-core/src/main/java/org/apache/tika/metadata/Database.java
URL: http://svn.apache.org/viewvc/tika/trunk/tika-core/src/main/java/org/apache/tika/metadata/Database.java?rev=1659547&view=auto
==============================================================================
--- tika/trunk/tika-core/src/main/java/org/apache/tika/metadata/Database.java (added)
+++ tika/trunk/tika-core/src/main/java/org/apache/tika/metadata/Database.java Fri Feb 13 12:54:45 2015
@@ -0,0 +1,25 @@
+package org.apache.tika.metadata;
+
+/*
+ * 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.
+ */
+public interface Database {
+    final static String PREFIX = "database"+Metadata.NAMESPACE_PREFIX_DELIMITER;
+
+    Property TABLE_NAME = Property.externalTextBag(PREFIX+"table_name");
+    Property COLUMN_COUNT = Property.externalText(PREFIX+"column_count");
+    Property COLUMN_NAME = Property.externalTextBag(PREFIX+"column_name");
+}
\ No newline at end of file