Skip navigation links
eu.dnetlib.data.objectstore.filesystem

Class FileSystemObjectStoreResultSetListener

    • Constructor Detail

      • FileSystemObjectStoreResultSetListener

        public FileSystemObjectStoreResultSetListener()
    • Method Detail

      • getResult

        public List<String> getResult(int from,
                                      int to)
        Specified by:
        getResult in interface eu.dnetlib.enabling.resultset.TypedResultSetListener<String>
        See Also:
        TypedResultSetListener.getResult(int, int)
      • getSize

        public int getSize()
        Specified by:
        getSize in interface eu.dnetlib.enabling.resultset.TypedResultSetListener<String>
        See Also:
        TypedResultSetListener.getSize()
      • setResultSet

        public void setResultSet(eu.dnetlib.enabling.resultset.ResultSet resultSet)
        Specified by:
        setResultSet in interface eu.dnetlib.enabling.resultset.ResultSetAware
        See Also:
        ResultSetAware.setResultSet(eu.dnetlib.enabling.resultset.ResultSet)
      • getFromDate

        public Long getFromDate()
        Gets the from date.
        Returns:
        the fromDate
      • getUntilDate

        public Long getUntilDate()
        Gets the until date.
        Returns:
        the untilDate
      • getRecords

        public List<String> getRecords()
        Gets the records.
        Returns:
        the records
      • setRecords

        public void setRecords(List<String> records)
        Sets the records.
        Parameters:
        records - the records to set
      • getObjectStoreID

        public String getObjectStoreID()
        Gets the object store id.
        Returns:
        the objectStoreID
      • setObjectStoreID

        public void setObjectStoreID(String objectStoreID)
        Sets the object store id.
        Parameters:
        objectStoreID - the objectStoreID to set
      • getBaseURI

        public String getBaseURI()
        Gets the base uri.
        Returns:
        the baseURI
      • setBaseURI

        public void setBaseURI(String baseURI)
        Sets the base uri.
        Parameters:
        baseURI - the baseURI to set
      • getCurrentSize

        public int getCurrentSize()
        Gets the current size.
        Returns:
        the currentSize
      • setCurrentSize

        public void setCurrentSize(int currentSize)
        Sets the current size.
        Parameters:
        currentSize - the currentSize to set
      • getCurrentCursor

        public com.mongodb.client.MongoCursor<com.mongodb.DBObject> getCurrentCursor()
        Gets the current cursor.
        Returns:
        the currentCursor
      • setCurrentCursor

        public void setCurrentCursor(com.mongodb.client.MongoCursor<com.mongodb.DBObject> currentCursor)
        Sets the current cursor.
        Parameters:
        currentCursor - the currentCursor to set
      • getCursorPosition

        public long getCursorPosition()
        Gets the cursor position.
        Returns:
        the cursorPosition
      • setCursorPosition

        public void setCursorPosition(long cursorPosition)
        Sets the cursor position.
        Parameters:
        cursorPosition - the cursorPosition to set
      • getMongoCollection

        public com.mongodb.client.MongoCollection<com.mongodb.DBObject> getMongoCollection()
        Gets the mongo collection.
        Returns:
        the mongo collection
      • setMongoCollection

        public void setMongoCollection(com.mongodb.client.MongoCollection<com.mongodb.DBObject> mongoCollection)
        Sets the mongo collection.
        Parameters:
        mongoCollection - the new mongo collection
      • getBasePath

        public String getBasePath()
      • setBasePath

        public void setBasePath(String basePath)

Copyright © 2020. All rights reserved.