Package com.yahoo.vdslib
Class VisitorStatistics
java.lang.Object
com.yahoo.vdslib.VisitorStatistics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(VisitorStatistics other) intlonglonglongReturns the number of documents returned to the visitor client by the backend.longReturns the number of documents matching the document selection in the backend that has been passed to the client-specified visitor instance (dumpvisitor, searchvisitor etc).voidsetBucketsVisited(int bucketsVisited) voidsetBytesReturned(long bytesReturned) voidsetBytesVisited(long bytesVisited) voidsetDocumentsReturned(long documentsReturned) voidsetDocumentsVisited(long documentsVisited) toString()
-
Constructor Details
-
VisitorStatistics
public VisitorStatistics()
-
-
Method Details
-
add
-
getBucketsVisited
public int getBucketsVisited() -
setBucketsVisited
public void setBucketsVisited(int bucketsVisited) -
getDocumentsVisited
public long getDocumentsVisited()Returns the number of documents matching the document selection in the backend that has been passed to the client-specified visitor instance (dumpvisitor, searchvisitor etc). -
setDocumentsVisited
public void setDocumentsVisited(long documentsVisited) -
getBytesVisited
public long getBytesVisited() -
setBytesVisited
public void setBytesVisited(long bytesVisited) -
getDocumentsReturned
public long getDocumentsReturned()Returns the number of documents returned to the visitor client by the backend. This number may be lower than that returned by getDocumentsVisited() since the client-specified visitor instance may further have filtered the set of documents returned by the backend. -
setDocumentsReturned
public void setDocumentsReturned(long documentsReturned) -
getBytesReturned
public long getBytesReturned() -
setBytesReturned
public void setBytesReturned(long bytesReturned) -
toString
-