Uses of Interface
org.nustaq.reallive.api.Record
Packages that use Record
Package
Description
-
Uses of Record in org.nustaq.reallive.api
Methods in org.nustaq.reallive.api that return RecordModifier and TypeMethodDescriptiondefault RecordRecord.deepCopy()default Recordmerge all fields from given record to this including nested structures.static RecordRecord.from(com.eclipsesource.json.JsonObject jsonObject) static Recordcreate new json'ish record from key value array.static Recordcreate a new record from given key and valuesdefault Recordreturn sub-record in case presentdefault RecordChangeMessage.getRecord()default RecordRecord.getRecord()default Recordcreates and sets an empty record in caseRecord.internal_put(String key, Object value) default Recorda simple tree merge (without any operators like deepMerge) copies all fields of given record to this.take care, kind of dangerousdefault Recordputs a key value pair. type checking is applied to ensure data is json compatible.default RecordRecord.putTransforming(String field, Object value) default RecordRecord.shallowCopy()Record.transformCopy(TransformFunction transform) copies recursively applying given function to each value.Methods in org.nustaq.reallive.api that return types with arguments of type RecordModifier and TypeMethodDescriptiondefault org.nustaq.kontraktor.IPromise<Record>RealLiveTable.find(RLPredicate<Record> condition) org.nustaq.kontraktor.IPromise<Record>Subscriber.getFilter()RealLiveStreamActor.listByQuery(String query) RealLiveTable.queryList(RLPredicate<Record> condition) RecordStorage.stream()org.nustaq.kontraktor.IPromise<Record>Methods in org.nustaq.reallive.api with parameters of type RecordModifier and TypeMethodDescriptionvoidSafeRealLiveTable._deepMerge(int senderId, Record jsonrec) voidorg.nustaq.kontraktor.IPromise<Boolean>default org.nustaq.kontraktor.IPromise<Boolean>default Recordmerge all fields from given record to this including nested structures.default voiddefault voiddefault Recorda simple tree merge (without any operators like deepMerge) copies all fields of given record to this.default voiddefault voidvoidvoiddefault voidvoidSafeRealLiveTable.setRecordAsIs(Record r) administrative use only !booleanbooleanbooleanvoidSafeRealLiveTable.upsertRecord(int senderId, Record rec) default voidSafeRealLiveTable.upsertRecord(Record rec) Method parameters in org.nustaq.reallive.api with type arguments of type RecordModifier and TypeMethodDescriptionorg.nustaq.kontraktor.IPromiseRealLiveTable.atomic(int senderId, String key, RLFunction<Record, Object> action) apply the function to the record with given key and return the result inside a promise changes to the record inside the function are applied to the real record and a change message is generated.default org.nustaq.kontraktor.IPromiseRealLiveTable.atomic(String key, RLFunction<Record, Object> action) voidRealLiveTable.atomicUpdate(RLPredicate<Record> filter, RLFunction<Record, Boolean> action) mass update.voidRealLiveTable.atomicUpdate(RLPredicate<Record> filter, RLFunction<Record, Boolean> action) mass update.Subscriber.filter(RLPredicate<Record> filter) default org.nustaq.kontraktor.IPromise<Record>RealLiveTable.find(RLPredicate<Record> condition) default <O> voidRealLiveStreamActor.forEach(org.nustaq.kontraktor.Spore<Record, O> spore, org.nustaq.kontraktor.Callback<O> result) sends null,null as marker for finish (so null cannot be a valid result of the spore)default voidRealLiveStreamActor.forEach(RLPredicate<Record> predicate, org.nustaq.kontraktor.Callback<Record> cb) default voidRealLiveStreamActor.forEach(RLPredicate<Record> predicate, org.nustaq.kontraktor.Callback<Record> cb) <T> voidRealLiveStreamActor.forEachWithSpore(org.nustaq.kontraktor.Spore<Record, T> spore) <T> voidStorageIndex.forEachWithSpore(Object hashValue, org.nustaq.kontraktor.Spore<Record, T> spore, RecordStorage store) static <T> RLHashIndexPredicateRLHashIndexPredicate.hashIndex(String path, Object key, RLPredicate<Record> subQuery) default SubscriberChangeStream.listen(RLNoQueryPredicate<Record> filter, ChangeReceiver rec) default <R> voidRealLiveStreamActor.map(RLPredicate<Record> predicate, RLFunction<Record, R> mapFun, org.nustaq.kontraktor.Callback<R> cb) default <R> voidRealLiveStreamActor.map(RLPredicate<Record> predicate, RLFunction<Record, R> mapFun, org.nustaq.kontraktor.Callback<R> cb) default voidvoidRealLiveTable.queryList(RLPredicate<Record> condition) default SubscriberChangeStream.subscribeOn(RLPredicate<Record> filter, ChangeReceiver receiver) Constructor parameters in org.nustaq.reallive.api with type arguments of type RecordModifierConstructorDescriptionLimitedQuery(int limit, RLPredicate<Record> predicate) Subscriber(RLPredicate<Record> filter, ChangeReceiver receiver) -
Uses of Record in org.nustaq.reallive.client
Methods in org.nustaq.reallive.client that return RecordMethods in org.nustaq.reallive.client that return types with arguments of type RecordModifier and TypeMethodDescriptionSubscribedSet.cloneMap()org.nustaq.kontraktor.IPromise<Record>SubscribedSet.getMap()should be used only if this is a HeapRecordStorage, accessed single threaded or this has been initialized using a concurrent maporg.nustaq.kontraktor.IPromise<Record>Methods in org.nustaq.reallive.client with parameters of type RecordModifier and TypeMethodDescriptionvoidShardedTable._deepMerge(int senderId, Record jsonrec) voidorg.nustaq.kontraktor.IPromise<Boolean>voidvoidShardedTable.setRecordAsIs(Record rec) voidShardedTable.upsertRecord(int senderId, Record rec) Method parameters in org.nustaq.reallive.client with type arguments of type RecordModifier and TypeMethodDescriptionorg.nustaq.kontraktor.IPromiseShardedTable.atomic(int senderId, String key, RLFunction<Record, Object> action) voidShardedTable.atomicUpdate(RLPredicate<Record> filter, RLFunction<Record, Boolean> action) voidShardedTable.atomicUpdate(RLPredicate<Record> filter, RLFunction<Record, Boolean> action) <T> voidShardedTable.forEachWithSpore(org.nustaq.kontraktor.Spore<Record, T> spore) voidSubscribedSet.subscribe(RLPredicate<Record> filter) -
Uses of Record in org.nustaq.reallive.messages
Methods in org.nustaq.reallive.messages that return RecordModifier and TypeMethodDescriptionUpdateMessage.getNewRecord()UpdateMessage.getOldRecord()AddMessage.getRecord()PutMessage.getRecord()RemoveMessage.getRecord()UpdateMessage.getRecord()Methods in org.nustaq.reallive.messages with parameters of type RecordModifier and TypeMethodDescriptionvoidDiff.applyToOldRecord(Record oldRec, Record newRec) static DiffChangeUtils.computeDiff(Record oldRec, Record newRec) compute deep differences between both recordsConstructors in org.nustaq.reallive.messages with parameters of type RecordModifierConstructorDescriptionAddMessage(int senderId, boolean updateIfExisting, Record record) AddMessage(int senderId, Record record) IdenticalPutMessage(int senderId, Record record) PutMessage(int senderId, Record record) RemoveMessage(int senderId, Record rec) UpdateMessage(int senderId, Diff diff, Record newRecord) UpdateMessage(int senderId, Diff diff, Record newRecord, boolean addIfNotExists) -
Uses of Record in org.nustaq.reallive.records
Classes in org.nustaq.reallive.records that implement RecordModifier and TypeClassDescriptionclassCreated by ruedi on 04.08.2015.classCreated by ruedi on 10.01.16.classCreated by ruedi on 22/08/15.Fields in org.nustaq.reallive.records declared as RecordMethods in org.nustaq.reallive.records that return RecordModifier and TypeMethodDescriptionRecordWrapper.getRecord()MapRecord.internal_put(String key, Object value) PatchingRecord.internal_put(String field, Object value) RecordWrapper.internal_put(String key, Object value) RecordWrapper.shallowCopy()MapRecord.transformCopy(TransformFunction transform) RecordWrapper.transformCopy(TransformFunction transform) PatchingRecord.unwrapOrCopy()Methods in org.nustaq.reallive.records with parameters of type RecordConstructors in org.nustaq.reallive.records with parameters of type RecordModifierConstructorDescriptionPatchingRecord(Record record) protectedRecordWrapper(Record record) -
Uses of Record in org.nustaq.reallive.server
Methods in org.nustaq.reallive.server that return RecordMethods in org.nustaq.reallive.server that return types with arguments of type RecordMethods in org.nustaq.reallive.server with parameters of type RecordModifier and TypeMethodDescriptionvoidRLUtil.buildRecord(Record res, Object[] keyVals) booleanvoidvoidvoidstatic RecordMethod parameters in org.nustaq.reallive.server with type arguments of type RecordModifier and TypeMethodDescriptionvoidFilterSpore._setFilter(RLPredicate<Record> f) org.nustaq.kontraktor.IPromiseStorageDriver.atomic(int senderId, String key, RLFunction<Record, Object> action) apply the function to the record with given key and return the result inside a promise changes to the record inside the function are applied to the real record and a change message is generated.voidStorageDriver.atomicQuery(int senderId, RLPredicate<Record> filter, RLFunction<Record, Boolean> action) voidStorageDriver.atomicQuery(int senderId, RLPredicate<Record> filter, RLFunction<Record, Boolean> action) FilterSpore.filter(RLPredicate<Record> filter) Constructor parameters in org.nustaq.reallive.server with type arguments of type RecordModifierConstructorDescriptionFilterSpore(RLPredicate<Record> filter) MapSpore(RLPredicate<Record> filter, RLFunction<Record, V> mapFun) MapSpore(RLPredicate<Record> filter, RLFunction<Record, V> mapFun) -
Uses of Record in org.nustaq.reallive.server.actors
Methods in org.nustaq.reallive.server.actors that return types with arguments of type RecordModifier and TypeMethodDescriptionorg.nustaq.kontraktor.IPromise<Record>org.nustaq.kontraktor.IPromise<Record>Methods in org.nustaq.reallive.server.actors with parameters of type RecordModifier and TypeMethodDescriptionvoidRealLiveTableActor._addSilent(Record rec) voidRealLiveTableActor._deepMerge(int senderId, Record jsonrec) voidorg.nustaq.kontraktor.IPromise<Boolean>voidvoidRealLiveTableActor.setRecordAsIs(Record rec) voidRealLiveTableActor.upsertRecord(int senderId, Record rec) Method parameters in org.nustaq.reallive.server.actors with type arguments of type RecordModifier and TypeMethodDescriptionorg.nustaq.kontraktor.IPromiseRealLiveTableActor.atomic(int senderId, String key, RLFunction<Record, Object> action) voidRealLiveTableActor.atomicUpdate(RLPredicate<Record> filter, RLFunction<Record, Boolean> action) voidRealLiveTableActor.atomicUpdate(RLPredicate<Record> filter, RLFunction<Record, Boolean> action) <T> voidRealLiveTableActor.forEachDirect(org.nustaq.kontraktor.Spore<Record, T> spore) <T> voidRealLiveTableActor.forEachWithSpore(org.nustaq.kontraktor.Spore<Record, T> spore) -
Uses of Record in org.nustaq.reallive.server.storage
Methods in org.nustaq.reallive.server.storage that return RecordModifier and TypeMethodDescriptionRecordJsonifier.toRecord(com.eclipsesource.json.JsonObject members) Methods in org.nustaq.reallive.server.storage that return types with arguments of type RecordModifier and TypeMethodDescriptionOffHeapRecordStorage.createMemMap(int sizeMB, int estimatedNumRecords, int keyLen) OffHeapRecordStorage.createPersistentMap(String tableFile, int sizeMB, int estimatedNumRecords, int keyLen) HashIndex.getHashGetter()HeapRecordStorage.getMap()CachedOffHeapStorage.stream()EncryptedStorageWrapper.stream()HeapRecordStorage.stream()IndexedRecordStorage.stream()OffHeapRecordStorage.stream()Methods in org.nustaq.reallive.server.storage with parameters of type RecordModifier and TypeMethodDescriptiondefault RecordPersistancedoes not update lastmodified timestampcom.eclipsesource.json.JsonObjectRecordJsonifier.fromRecord(Record r) voidIndexedRecordStorage.initializeFromRecord(Record value) voidMethod parameters in org.nustaq.reallive.server.storage with type arguments of type RecordModifier and TypeMethodDescription<T> voidCachedOffHeapStorage.forEachWithSpore(org.nustaq.kontraktor.Spore<Record, T> spore) <T> voidEncryptedStorageWrapper.forEachWithSpore(org.nustaq.kontraktor.Spore<Record, T> spore) <T> voidHashIndex.forEachWithSpore(Object hashValue, org.nustaq.kontraktor.Spore<Record, T> spore, RecordStorage store) <T> voidHeapRecordStorage.forEachWithSpore(org.nustaq.kontraktor.Spore<Record, T> spore) <T> voidIndexedRecordStorage.forEachWithSpore(org.nustaq.kontraktor.Spore<Record, T> spore) <T> voidOffHeapRecordStorage.forEachWithSpore(org.nustaq.kontraktor.Spore<Record, T> spore) <T> voidRecordPersistance.forEachWithSpore(org.nustaq.kontraktor.Spore<Record, T> spore) Constructor parameters in org.nustaq.reallive.server.storage with type arguments of type RecordModifierConstructorDescriptionEncryptedStorageWrapper(Function<Record, Record> encryptionFun, Function<Record, Record> decryptionFun, RecordStorage wrapped) EncryptedStorageWrapper(Function<Record, Record> encryptionFun, Function<Record, Record> decryptionFun, RecordStorage wrapped) HashIndex(RLFunction<Record, Object> hashGetter, String hashPath) HeapRecordStorage(Map<Object, Record> map)