remove unused pagacke org/apache/asterix/om/io
Change-Id: Ib1239b5e6c83b6b93da4f02d83492118bd0e97c2
Reviewed-on: https://asterix-gerrit.ics.uci.edu/652
Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
diff --git a/asterix-om/src/main/java/org/apache/asterix/om/io/AsterixIOException.java b/asterix-om/src/main/java/org/apache/asterix/om/io/AsterixIOException.java
deleted file mode 100644
index 498db12..0000000
--- a/asterix-om/src/main/java/org/apache/asterix/om/io/AsterixIOException.java
+++ /dev/null
@@ -1,30 +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.asterix.om.io;
-
-import org.apache.asterix.common.exceptions.AsterixException;
-
-public abstract class AsterixIOException extends AsterixException {
-
- /**
- *
- */
- private static final long serialVersionUID = -6833106041007638556L;
-
-}
diff --git a/asterix-om/src/main/java/org/apache/asterix/om/io/IALocation.java b/asterix-om/src/main/java/org/apache/asterix/om/io/IALocation.java
deleted file mode 100644
index ea974dc..0000000
--- a/asterix-om/src/main/java/org/apache/asterix/om/io/IALocation.java
+++ /dev/null
@@ -1,23 +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.asterix.om.io;
-
-public interface IALocation {
- public String getCollectionURI();
-}
diff --git a/asterix-om/src/main/java/org/apache/asterix/om/io/IAOMReader.java b/asterix-om/src/main/java/org/apache/asterix/om/io/IAOMReader.java
deleted file mode 100644
index 93da32c..0000000
--- a/asterix-om/src/main/java/org/apache/asterix/om/io/IAOMReader.java
+++ /dev/null
@@ -1,33 +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.asterix.om.io;
-
-import org.apache.asterix.om.base.IAObject;
-
-public interface IAOMReader {
-
- // Initializes a reader for the collection defined by a certain location.
- public void init(IALocation location) throws AsterixIOException;
-
- // Reads the current object and goes to the next item in the collection.
- // When it reaches the end, it returns null.
- public IAObject read() throws AsterixIOException;
-
- public void close() throws AsterixIOException;
-}
diff --git a/asterix-om/src/main/java/org/apache/asterix/om/io/IAOMReaderWriterFactory.java b/asterix-om/src/main/java/org/apache/asterix/om/io/IAOMReaderWriterFactory.java
deleted file mode 100644
index 0ccad8e..0000000
--- a/asterix-om/src/main/java/org/apache/asterix/om/io/IAOMReaderWriterFactory.java
+++ /dev/null
@@ -1,25 +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.asterix.om.io;
-
-public interface IAOMReaderWriterFactory {
- public IAOMWriter createOMWriter();
-
- public IAOMReader createOMReader();
-}
diff --git a/asterix-om/src/main/java/org/apache/asterix/om/io/IAOMWriter.java b/asterix-om/src/main/java/org/apache/asterix/om/io/IAOMWriter.java
deleted file mode 100644
index 7ba09af..0000000
--- a/asterix-om/src/main/java/org/apache/asterix/om/io/IAOMWriter.java
+++ /dev/null
@@ -1,34 +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.asterix.om.io;
-
-import org.apache.asterix.om.base.IAObject;
-
-public interface IAOMWriter {
-
- // Initializes a writer for the collection defined by a certain location.
- public void init(IALocation location) throws AsterixIOException;
-
- // Appends the object to the previously opened collection.
- public void append(IAObject object) throws AsterixIOException;
-
- // Closes the writer, deallocates any additional structures.
- public void close() throws AsterixIOException;
-
-}