cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: remove unused interface
Date Mon, 23 Jan 2017 02:55:20 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 5b95ebdaf -> 065d87a3e


remove unused interface


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

Branch: refs/heads/trunk
Commit: 065d87a3e22c52beac75e624bde2d69026d27882
Parents: 5b95ebd
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Sun Jan 22 21:55:06 2017 -0500
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Sun Jan 22 21:55:06 2017 -0500

----------------------------------------------------------------------
 .../apache/cassandra/io/ISSTableSerializer.java | 47 --------------------
 1 file changed, 47 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/065d87a3/src/java/org/apache/cassandra/io/ISSTableSerializer.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/io/ISSTableSerializer.java b/src/java/org/apache/cassandra/io/ISSTableSerializer.java
deleted file mode 100644
index 96a38ac..0000000
--- a/src/java/org/apache/cassandra/io/ISSTableSerializer.java
+++ /dev/null
@@ -1,47 +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.cassandra.io;
-
-import java.io.DataInput;
-import java.io.IOException;
-
-import org.apache.cassandra.io.sstable.format.Version;
-import org.apache.cassandra.io.util.DataOutputPlus;
-
-public interface ISSTableSerializer<T>
-{
-    /**
-     * Serialize the specified type into the specified DataOutputStream
-     * instance in the format suited for SSTables.
-     *
-     * @param t type that needs to be serialized
-     * @param out DataOutput into which serialization needs to happen.
-     * @throws java.io.IOException
-     */
-    public void serializeForSSTable(T t, DataOutputPlus out) throws IOException;
-
-    /**
-     * Deserialize into the specified DataInputStream instance in the format
-     * suited for SSTables.
-     * @param in DataInput from which deserialization needs to happen.
-     * @param version the version for the sstable we're reading from
-     * @throws IOException
-     * @return the type that was deserialized
-     */
-    public T deserializeFromSSTable(DataInput in, Version version) throws IOException;
-}


Mime
View raw message