Class StoreQuery

    • Constructor Detail

      • StoreQuery

        public StoreQuery​(OnDemandQuery onDemandQuery)
        Deprecated.
      • StoreQuery

        public StoreQuery()
        Deprecated.
    • Method Detail

      • query

        public static StoreQuery query()
        Deprecated.
        Builder method to get a new on-demand query instance
        Returns:
        a new storeQuery instance
      • getOnDemandQuery

        public OnDemandQuery getOnDemandQuery()
        Deprecated.
      • from

        public StoreQuery from​(InputStore inputStore)
        Deprecated.
        Builder method to set input store to the store query
        Parameters:
        inputStore - inputStore for the store query
        Returns:
        updated store query
      • getInputStore

        public InputStore getInputStore()
        Deprecated.
        Getter for the input store
        Returns:
        inputStore
      • select

        public StoreQuery select​(Selector selector)
        Deprecated.
        Builder method to set a selector to the store query
        Parameters:
        selector - selector for the store query
        Returns:
        updated store query
      • outStream

        public StoreQuery outStream​(OutputStream outputStream)
        Deprecated.
        Builder method to set an outPutStream to the store query
        Parameters:
        outputStream - outPutStream for the store query
        Returns:
        updated store query
      • deleteBy

        public void deleteBy​(String outputTableId,
                             Expression onDeletingExpression)
        Deprecated.
        Method to set a deleteStream as the outputStream of the store query
        Parameters:
        outputTableId - id of the table which is going to be queried
        onDeletingExpression - expression for the delete operation defined in the store query
      • updateBy

        public void updateBy​(String outputTableId,
                             Expression onUpdateExpression)
        Deprecated.
        Method to set an updateStream as the outputStream of the store query
        Parameters:
        outputTableId - id of the table which is going to be queried
        onUpdateExpression - expression for the update operation defined in the store query
      • updateBy

        public void updateBy​(String outputTableId,
                             UpdateSet updateSetAttributes,
                             Expression onUpdateExpression)
        Deprecated.
        Method to set an updateStream as the outputStream of the store query
        Parameters:
        outputTableId - id of the table which is going to be queried
        updateSetAttributes - updateSet for the attributes which are going to be updated.
        onUpdateExpression - expression for the update operation defined in the store query
      • updateOrInsertBy

        public void updateOrInsertBy​(String outputTableId,
                                     UpdateSet updateSetAttributes,
                                     Expression onUpdateExpression)
        Deprecated.
        Method to set an updateOrInsertStream as the outputStream of the store query
        Parameters:
        outputTableId - id of the table which is going to be queried
        updateSetAttributes - updateSet for the attributes which are going to be updated.
        onUpdateExpression - expression for the update or insert operation defined in the store query
      • getSelector

        public Selector getSelector()
        Deprecated.
        Getter method to get the selector of the store query
        Returns:
        selector of the store query
      • getOutputStream

        public OutputStream getOutputStream()
        Deprecated.
        Getter method to get the outputStream of the store query
        Returns:
        outputStream of the store query
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • getType

        public StoreQuery.StoreQueryType getType()
        Deprecated.
        This method returns the type of given store query.
        Returns:
        type of given store query
      • setType

        public void setType​(StoreQuery.StoreQueryType type)
        Deprecated.
        This method sets the type of given store query.