Interface BinaryReaderEx

    • Method Detail

      • readObjectDetached

        @Nullable
        @Nullable Object readObjectDetached​(boolean deserialize)
                                     throws BinaryObjectException
        Parameters:
        deserialize - True if object should be deserialized during reading.
        Returns:
        Object.
        Throws:
        BinaryObjectException - In case of error.
      • unmarshal

        Object unmarshal​(int offset)
        Parameters:
        offset - Offset in the array.
        Returns:
        Unmarshalled value.
        Throws:
        BinaryObjectException - In case of error.
      • descriptor

        org.apache.ignite.internal.binary.BinaryClassDescriptor descriptor()
        Returns:
        Descriptor.
      • findFieldByName

        boolean findFieldByName​(String name)
        Try finding the field by name.
        Parameters:
        name - Field name.
        Returns:
        Offset.
      • getOrCreateSchema

        BinarySchema getOrCreateSchema()
        Get or create object schema.
        Returns:
        Schema.
      • setHandle

        void setHandle​(Object obj)
        Set handle.
        Parameters:
        obj - Object.
      • setHandle

        void setHandle​(Object obj,
                       int pos)
        Set handle.
        Parameters:
        obj - Object.
        pos - Position.
      • getHandle

        Object getHandle​(int pos)
        Get handle.
        Parameters:
        pos - Position.
        Returns:
        Handle.
      • handles

        org.apache.ignite.internal.binary.BinaryReaderHandles handles()
        Get all handles.
        Returns:
        Handles.
      • isEmpty

        boolean isEmpty()