public class SingleEntityIterable extends EntityIterableBase
EMPTY, NULL_TYPE_ID, txnGetter| Constructor and Description |
|---|
SingleEntityIterable(@Nullable PersistentStoreTransaction txn,
@Nullable jetbrains.exodus.entitystore.EntityId id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeCached()
Should this type of iterables be cached.
|
long |
count() |
protected @NotNull EntityIterableHandle |
getHandleImpl() |
@NotNull EntityIteratorBase |
getIteratorImpl(@NotNull PersistentStoreTransaction txn) |
long |
getRoughCount() |
static EntityIterableType |
getType() |
int |
indexOf(@NotNull jetbrains.exodus.entitystore.Entity entity) |
protected int |
indexOfImpl(@NotNull jetbrains.exodus.entitystore.EntityId entityId) |
long |
size() |
asProbablyCached, asSortResult, canBeReordered, concat, contains, containsImpl, countImpl, createCachedInstance, depth, distinct, explain, findLinks, findLinks, getEntity, getEntityTypeId, getFirst, getHandle, getHumanReadablePresentation, getHumanReadablePresentation, getIteratorImpl, getLast, getOrCreateCachedInstance, getOrCreateCachedInstance, getOrigin, getReverseIteratorImpl, getRoughSize, getSource, getStore, getTransaction, instantiate, intersect, intersectSavingOrder, isCached, isCachedInstance, isEmpty, isEmptyFast, isEmptyImpl, isSortedById, isSortResult, isThreadSafe, iterator, minus, nonCachedHasFastCountAndIsEmpty, registerType, reverse, selectDistinct, selectMany, selectManyDistinct, setOrigin, skip, take, toSet, unionpublic SingleEntityIterable(@Nullable
@Nullable PersistentStoreTransaction txn,
@Nullable
@Nullable jetbrains.exodus.entitystore.EntityId id)
public static EntityIterableType getType()
public long size()
size in interface jetbrains.exodus.entitystore.EntityIterablesize in class EntityIterableBasepublic long count()
count in interface jetbrains.exodus.entitystore.EntityIterablecount in class EntityIterableBasepublic long getRoughCount()
getRoughCount in interface jetbrains.exodus.entitystore.EntityIterablegetRoughCount in class EntityIterableBasepublic int indexOf(@NotNull
@NotNull jetbrains.exodus.entitystore.Entity entity)
indexOf in interface jetbrains.exodus.entitystore.EntityIterableindexOf in class EntityIterableBasepublic boolean canBeCached()
EntityIterableBasecanBeCached in class EntityIterableBaseprotected int indexOfImpl(@NotNull
@NotNull jetbrains.exodus.entitystore.EntityId entityId)
indexOfImpl in class EntityIterableBase@NotNull public @NotNull EntityIteratorBase getIteratorImpl(@NotNull @NotNull PersistentStoreTransaction txn)
getIteratorImpl in class EntityIterableBase@NotNull protected @NotNull EntityIterableHandle getHandleImpl()
getHandleImpl in class EntityIterableBase