Class SimplePaginatedDataImpl<T>
- java.lang.Object
-
- graphql.annotations.connection.simple.AbstractSimplePaginatedData<T>
-
- graphql.annotations.connection.simple.SimplePaginatedDataImpl<T>
-
- All Implemented Interfaces:
SimpleConnection<T>,SimplePaginatedData<T>,graphql.relay.Connection<T>,java.lang.Iterable<T>
public class SimplePaginatedDataImpl<T> extends AbstractSimplePaginatedData<T>
-
-
Constructor Summary
Constructors Constructor Description SimplePaginatedDataImpl(java.lang.Iterable<T> data, long totalCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetTotalCount()The amount of entities-
Methods inherited from class graphql.annotations.connection.simple.AbstractSimplePaginatedData
getData, iterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface graphql.annotations.connection.simple.SimpleConnection
getEdges, getPageInfo
-
-
-
-
Constructor Detail
-
SimplePaginatedDataImpl
public SimplePaginatedDataImpl(java.lang.Iterable<T> data, long totalCount)
-
-
Method Detail
-
getTotalCount
public long getTotalCount()
Description copied from interface:SimpleConnectionThe amount of entities- Returns:
- The amount of entities
-
-