@ConsumerType public interface DataSource
Resource
.Modifier and Type | Method and Description |
---|---|
default java.lang.Long |
getGuessTotal()
Returns the total count or the total as far as it is known.
|
default java.lang.Long |
getLimit()
Returns the limit of this datasource.
|
default java.lang.Long |
getOffset()
Returns the offset of this datasource.
|
java.util.Iterator<Resource> |
iterator()
Returns the data.
|
@Nonnull java.util.Iterator<Resource> iterator()
@CheckForNull default java.lang.Long getOffset()
null
by default.null
when the offset is
unknown or not set.@CheckForNull default java.lang.Long getLimit()
null
by default.null
when the offset is
unknown or not set.@CheckForNull default java.lang.Long getGuessTotal()
null
by default.null
if it is not known.Copyright © 2010 - 2020 Adobe. All Rights Reserved