public class GridFSObjectstoreResultSetListener extends Object implements eu.dnetlib.enabling.resultset.ResultSetListener, eu.dnetlib.enabling.resultset.ResultSetAware
addGridFSObjectstoreResultSetListener method. When
the gridFSObjectstoreResultSet event occurs, that object's appropriate
method is invoked.GridFSObjectstoreResultSetEvent| Constructor and Description |
|---|
GridFSObjectstoreResultSetListener() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseURI()
Gets the base uri.
|
com.mongodb.gridfs.GridFS |
getCollection()
Gets the collection.
|
Long |
getFromDate()
Gets the from date.
|
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 |
setBaseURI(String baseURI)
Sets the base uri.
|
void |
setCollection(com.mongodb.gridfs.GridFS collection)
Sets the collection.
|
void |
setFromDate(Long fromdate)
Sets the from date.
|
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) |
void |
setUntilDate(Long untilDate)
Sets the until date.
|
public List<String> getResult(int from, int to)
getResult in interface eu.dnetlib.enabling.resultset.TypedResultSetListener<String>public int getSize()
getSize in interface eu.dnetlib.enabling.resultset.TypedResultSetListener<String>public void setResultSet(eu.dnetlib.enabling.resultset.ResultSet resultSet)
setResultSet in interface eu.dnetlib.enabling.resultset.ResultSetAwarepublic Long getFromDate()
public void setFromDate(Long fromdate)
fromdate - the new from datepublic Long getUntilDate()
public void setUntilDate(Long untilDate)
untilDate - the new until datepublic void setRecords(List<String> records)
records - the new recordspublic com.mongodb.gridfs.GridFS getCollection()
public void setCollection(com.mongodb.gridfs.GridFS collection)
collection - the new collectionpublic String getBaseURI()
public void setBaseURI(String baseURI)
baseURI - the new base uripublic String getObjectStoreID()
public void setObjectStoreID(String objectStoreID)
objectStoreID - the new object store idCopyright © 2020. All rights reserved.