public final class PropertiesTable extends Table
| Constructor and Description |
|---|
PropertiesTable(@NotNull PersistentStoreTransaction txn,
@NotNull java.lang.String name,
@NotNull jetbrains.exodus.env.StoreConfig primaryConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeCached() |
static jetbrains.exodus.ByteIterable[] |
createSecondaryKeys(@NotNull PropertyTypes propertyTypes,
@NotNull jetbrains.exodus.ByteIterable value,
@NotNull jetbrains.exodus.bindings.ComparableValueType type) |
void |
delete(@NotNull PersistentStoreTransaction txn,
long localId,
@NotNull jetbrains.exodus.ByteIterable value,
int propertyId,
@NotNull jetbrains.exodus.bindings.ComparableValueType type) |
@Nullable jetbrains.exodus.ByteIterable |
get(@NotNull PersistentStoreTransaction txn,
@NotNull jetbrains.exodus.ByteIterable key) |
jetbrains.exodus.entitystore.tables.FieldIndex |
getAllPropsIndex() |
@NotNull jetbrains.exodus.env.Store |
getOrCreateValueIndex(@NotNull PersistentStoreTransaction txn,
int propertyId) |
jetbrains.exodus.env.Store |
getPrimaryIndex() |
@Nullable jetbrains.exodus.env.Store |
getValueIndex(@NotNull PersistentStoreTransaction txn,
int propertyId,
boolean creationRequired) |
@NotNull java.util.Collection<java.util.Map.Entry<java.lang.Integer,jetbrains.exodus.env.Store>> |
getValueIndices() |
void |
put(@NotNull PersistentStoreTransaction txn,
long localId,
@NotNull jetbrains.exodus.ByteIterable value,
@Nullable jetbrains.exodus.ByteIterable oldValue,
int propertyId,
@NotNull jetbrains.exodus.bindings.ComparableValueType type)
Setter for property value.
|
checkStatuspublic PropertiesTable(@NotNull
@NotNull PersistentStoreTransaction txn,
@NotNull
@NotNull java.lang.String name,
@NotNull
@NotNull jetbrains.exodus.env.StoreConfig primaryConfig)
@Nullable
public @Nullable jetbrains.exodus.ByteIterable get(@NotNull
@NotNull PersistentStoreTransaction txn,
@NotNull
@NotNull jetbrains.exodus.ByteIterable key)
public void put(@NotNull
@NotNull PersistentStoreTransaction txn,
long localId,
@NotNull
@NotNull jetbrains.exodus.ByteIterable value,
@Nullable
@Nullable jetbrains.exodus.ByteIterable oldValue,
int propertyId,
@NotNull
@NotNull jetbrains.exodus.bindings.ComparableValueType type)
localId - entity local id.value - property value.oldValue - property old valuepropertyId - property idpublic void delete(@NotNull
@NotNull PersistentStoreTransaction txn,
long localId,
@NotNull
@NotNull jetbrains.exodus.ByteIterable value,
int propertyId,
@NotNull
@NotNull jetbrains.exodus.bindings.ComparableValueType type)
public jetbrains.exodus.env.Store getPrimaryIndex()
public jetbrains.exodus.entitystore.tables.FieldIndex getAllPropsIndex()
@Nullable
public @Nullable jetbrains.exodus.env.Store getValueIndex(@NotNull
@NotNull PersistentStoreTransaction txn,
int propertyId,
boolean creationRequired)
@NotNull
public @NotNull jetbrains.exodus.env.Store getOrCreateValueIndex(@NotNull
@NotNull PersistentStoreTransaction txn,
int propertyId)
@NotNull public @NotNull java.util.Collection<java.util.Map.Entry<java.lang.Integer,jetbrains.exodus.env.Store>> getValueIndices()
public static jetbrains.exodus.ByteIterable[] createSecondaryKeys(@NotNull
@NotNull PropertyTypes propertyTypes,
@NotNull
@NotNull jetbrains.exodus.ByteIterable value,
@NotNull
@NotNull jetbrains.exodus.bindings.ComparableValueType type)
public boolean canBeCached()
canBeCached in class Table