IGNITE-950 - Renaming.

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

Branch: refs/heads/ignite-1753-1282
Commit: 20626b1e59139242252134d024a9ee8f8dad1528
Parents: 20f5b9c
Author: Alexey Goncharuk <[email protected]>
Authored: Tue Nov 3 01:23:19 2015 +0300
Committer: Alexey Goncharuk <[email protected]>
Committed: Tue Nov 3 01:23:19 2015 +0300

----------------------------------------------------------------------
 .../igniteobject/IgniteObjectRawReader.java     | 240 -------------------
 .../igniteobject/IgniteObjectRawWriter.java     | 225 -----------------
 2 files changed, 465 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/20626b1e/modules/core/src/main/java/org/apache/ignite/igniteobject/IgniteObjectRawReader.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/igniteobject/IgniteObjectRawReader.java
 
b/modules/core/src/main/java/org/apache/ignite/igniteobject/IgniteObjectRawReader.java
deleted file mode 100644
index e908900..0000000
--- 
a/modules/core/src/main/java/org/apache/ignite/igniteobject/IgniteObjectRawReader.java
+++ /dev/null
@@ -1,240 +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.ignite.igniteobject;
-
-import java.math.BigDecimal;
-import java.sql.Timestamp;
-import java.util.Collection;
-import java.util.Date;
-import java.util.Map;
-import java.util.UUID;
-import org.jetbrains.annotations.Nullable;
-
-/**
- * Raw reader for portable objects. Raw reader does not use field name hash 
codes, therefore,
- * making the format even more compact. However, if the raw reader is used,
- * dynamic structure changes to the portable objects are not supported.
- */
-public interface IgniteObjectRawReader {
-    /**
-     * @return Byte value.
-     * @throws IgniteObjectException In case of error.
-     */
-    public byte readByte() throws IgniteObjectException;
-
-    /**
-     * @return Short value.
-     * @throws IgniteObjectException In case of error.
-     */
-    public short readShort() throws IgniteObjectException;
-
-    /**
-     * @return Integer value.
-     * @throws IgniteObjectException In case of error.
-     */
-    public int readInt() throws IgniteObjectException;
-
-    /**
-     * @return Long value.
-     * @throws IgniteObjectException In case of error.
-     */
-    public long readLong() throws IgniteObjectException;
-
-    /**
-     * @return Float value.
-     * @throws IgniteObjectException In case of error.
-     */
-    public float readFloat() throws IgniteObjectException;
-
-    /**
-     * @return Double value.
-     * @throws IgniteObjectException In case of error.
-     */
-    public double readDouble() throws IgniteObjectException;
-
-    /**
-     * @return Char value.
-     * @throws IgniteObjectException In case of error.
-     */
-    public char readChar() throws IgniteObjectException;
-
-    /**
-     * @return Boolean value.
-     * @throws IgniteObjectException In case of error.
-     */
-    public boolean readBoolean() throws IgniteObjectException;
-
-    /**
-     * @return Decimal value.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public BigDecimal readDecimal() throws IgniteObjectException;
-
-    /**
-     * @return String value.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public String readString() throws IgniteObjectException;
-
-    /**
-     * @return UUID.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public UUID readUuid() throws IgniteObjectException;
-
-    /**
-     * @return Date.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public Date readDate() throws IgniteObjectException;
-
-    /**
-     * @return Timestamp.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public Timestamp readTimestamp() throws IgniteObjectException;
-
-    /**
-     * @return Object.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public <T> T readObject() throws IgniteObjectException;
-
-    /**
-     * @return Byte array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public byte[] readByteArray() throws IgniteObjectException;
-
-    /**
-     * @return Short array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public short[] readShortArray() throws IgniteObjectException;
-
-    /**
-     * @return Integer array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public int[] readIntArray() throws IgniteObjectException;
-
-    /**
-     * @return Long array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public long[] readLongArray() throws IgniteObjectException;
-
-    /**
-     * @return Float array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public float[] readFloatArray() throws IgniteObjectException;
-
-    /**
-     * @return Byte array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public double[] readDoubleArray() throws IgniteObjectException;
-
-    /**
-     * @return Char array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public char[] readCharArray() throws IgniteObjectException;
-
-    /**
-     * @return Boolean array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public boolean[] readBooleanArray() throws IgniteObjectException;
-
-    /**
-     * @return Decimal array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public BigDecimal[] readDecimalArray() throws 
IgniteObjectException;
-
-    /**
-     * @return String array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public String[] readStringArray() throws IgniteObjectException;
-
-    /**
-     * @return UUID array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public UUID[] readUuidArray() throws IgniteObjectException;
-
-    /**
-     * @return Date array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public Date[] readDateArray() throws IgniteObjectException;
-
-    /**
-     * @return Timestamp array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public Timestamp[] readTimestampArray() throws 
IgniteObjectException;
-
-    /**
-     * @return Object array.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public Object[] readObjectArray() throws IgniteObjectException;
-
-    /**
-     * @return Collection.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public <T> Collection<T> readCollection() throws 
IgniteObjectException;
-
-    /**
-     * @param colCls Collection class.
-     * @return Collection.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public <T> Collection<T> readCollection(Class<? extends 
Collection<T>> colCls)
-        throws IgniteObjectException;
-
-    /**
-     * @return Map.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public <K, V> Map<K, V> readMap() throws IgniteObjectException;
-
-    /**
-     * @param mapCls Map class.
-     * @return Map.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public <K, V> Map<K, V> readMap(Class<? extends Map<K, V>> 
mapCls) throws IgniteObjectException;
-
-    /**
-     * @return Value.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public <T extends Enum<?>> T readEnum() throws 
IgniteObjectException;
-
-    /**
-     * @return Value.
-     * @throws IgniteObjectException In case of error.
-     */
-    @Nullable public <T extends Enum<?>> T[] readEnumArray() throws 
IgniteObjectException;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/20626b1e/modules/core/src/main/java/org/apache/ignite/igniteobject/IgniteObjectRawWriter.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/igniteobject/IgniteObjectRawWriter.java
 
b/modules/core/src/main/java/org/apache/ignite/igniteobject/IgniteObjectRawWriter.java
deleted file mode 100644
index a1bfd83..0000000
--- 
a/modules/core/src/main/java/org/apache/ignite/igniteobject/IgniteObjectRawWriter.java
+++ /dev/null
@@ -1,225 +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.ignite.igniteobject;
-
-import java.math.BigDecimal;
-import java.sql.Timestamp;
-import java.util.Collection;
-import java.util.Date;
-import java.util.Map;
-import java.util.UUID;
-import org.jetbrains.annotations.Nullable;
-
-/**
- * Raw writer for portable object. Raw writer does not write field name hash 
codes, therefore,
- * making the format even more compact. However, if the raw writer is used,
- * dynamic structure changes to the portable objects are not supported.
- */
-public interface IgniteObjectRawWriter {
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeByte(byte val) throws IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeShort(short val) throws IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeInt(int val) throws IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeLong(long val) throws IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeFloat(float val) throws IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeDouble(double val) throws IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeChar(char val) throws IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeBoolean(boolean val) throws IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeDecimal(@Nullable BigDecimal val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeString(@Nullable String val) throws IgniteObjectException;
-
-    /**
-     * @param val UUID to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeUuid(@Nullable UUID val) throws IgniteObjectException;
-
-    /**
-     * @param val Date to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeDate(@Nullable Date val) throws IgniteObjectException;
-
-    /**
-     * @param val Timestamp to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeTimestamp(@Nullable Timestamp val) throws 
IgniteObjectException;
-
-    /**
-     * @param obj Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeObject(@Nullable Object obj) throws IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeByteArray(@Nullable byte[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeShortArray(@Nullable short[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeIntArray(@Nullable int[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeLongArray(@Nullable long[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeFloatArray(@Nullable float[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeDoubleArray(@Nullable double[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeCharArray(@Nullable char[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeBooleanArray(@Nullable boolean[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeDecimalArray(@Nullable BigDecimal[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeStringArray(@Nullable String[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeUuidArray(@Nullable UUID[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeDateArray(@Nullable Date[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeTimestampArray(@Nullable Timestamp[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public void writeObjectArray(@Nullable Object[] val) throws 
IgniteObjectException;
-
-    /**
-     * @param col Collection to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public <T> void writeCollection(@Nullable Collection<T> col) throws 
IgniteObjectException;
-
-    /**
-     * @param map Map to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public <K, V> void writeMap(@Nullable Map<K, V> map) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public <T extends Enum<?>> void writeEnum(T val) throws 
IgniteObjectException;
-
-    /**
-     * @param val Value to write.
-     * @throws IgniteObjectException In case of error.
-     */
-    public <T extends Enum<?>> void writeEnumArray(T[] val) throws 
IgniteObjectException;
-}
\ No newline at end of file

Reply via email to