public class FileSystemObjectStoreResultSetListener extends Object implements eu.dnetlib.enabling.resultset.ResultSetListener, eu.dnetlib.enabling.resultset.ResultSetAware
addFileSystemObjectStoreResultSetListener method. When
the fileSystemObjectStoreResultSet event occurs, that object's appropriate
method is invoked.| Constructor and Description |
|---|
FileSystemObjectStoreResultSetListener() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBasePath() |
String |
getBaseURI()
Gets the base uri.
|
com.mongodb.client.MongoCursor<com.mongodb.DBObject> |
getCurrentCursor()
Gets the current cursor.
|
int |
getCurrentSize()
Gets the current size.
|
long |
getCursorPosition()
Gets the cursor position.
|
Long |
getFromDate()
Gets the from date.
|
com.mongodb.client.MongoCollection<com.mongodb.DBObject> |
getMongoCollection()
Gets the mongo collection.
|
String |
getObjectStoreID()
Gets the object store id.
|
List<String> |
getRecords()
Gets the records.
|
List<String> |
getResult(int from,
int to) |
int |
getSize() |
Long |
getUntilDate()
Gets the until date.
|
void |
setBasePath(String basePath) |
void |
setBaseURI(String baseURI)
Sets the base uri.
|
void |
setCurrentCursor(com.mongodb.client.MongoCursor<com.mongodb.DBObject> currentCursor)
Sets the current cursor.
|
void |
setCurrentSize(int currentSize)
Sets the current size.
|
void |
setCursorPosition(long cursorPosition)
Sets the cursor position.
|
FileSystemObjectStoreResultSetListener |
setFromDate(Long fromDate)
Sets the from date.
|
void |
setMongoCollection(com.mongodb.client.MongoCollection<com.mongodb.DBObject> mongoCollection)
Sets the mongo collection.
|
void |
setObjectStoreID(String objectStoreID)
Sets the object store id.
|
void |
setRecords(List<String> records)
Sets the records.
|
void |
setResultSet(eu.dnetlib.enabling.resultset.ResultSet resultSet) |
FileSystemObjectStoreResultSetListener |
setUntilDate(Long untilDate)
Sets the until date.
|
public FileSystemObjectStoreResultSetListener()
public List<String> getResult(int from, int to)
getResult in interface eu.dnetlib.enabling.resultset.TypedResultSetListener<String>TypedResultSetListener.getResult(int, int)public int getSize()
getSize in interface eu.dnetlib.enabling.resultset.TypedResultSetListener<String>TypedResultSetListener.getSize()public void setResultSet(eu.dnetlib.enabling.resultset.ResultSet resultSet)
setResultSet in interface eu.dnetlib.enabling.resultset.ResultSetAwareResultSetAware.setResultSet(eu.dnetlib.enabling.resultset.ResultSet)public Long getFromDate()
public FileSystemObjectStoreResultSetListener setFromDate(Long fromDate)
fromDate - the fromDate to setpublic Long getUntilDate()
public FileSystemObjectStoreResultSetListener setUntilDate(Long untilDate)
untilDate - the untilDate to setpublic void setRecords(List<String> records)
records - the records to setpublic String getObjectStoreID()
public void setObjectStoreID(String objectStoreID)
objectStoreID - the objectStoreID to setpublic String getBaseURI()
public void setBaseURI(String baseURI)
baseURI - the baseURI to setpublic int getCurrentSize()
public void setCurrentSize(int currentSize)
currentSize - the currentSize to setpublic com.mongodb.client.MongoCursor<com.mongodb.DBObject> getCurrentCursor()
public void setCurrentCursor(com.mongodb.client.MongoCursor<com.mongodb.DBObject> currentCursor)
currentCursor - the currentCursor to setpublic long getCursorPosition()
public void setCursorPosition(long cursorPosition)
cursorPosition - the cursorPosition to setpublic com.mongodb.client.MongoCollection<com.mongodb.DBObject> getMongoCollection()
public void setMongoCollection(com.mongodb.client.MongoCollection<com.mongodb.DBObject> mongoCollection)
mongoCollection - the new mongo collectionpublic String getBasePath()
public void setBasePath(String basePath)
Copyright © 2018. All rights reserved.