Variable PartitionKeyGeneratorsConst
PartitionKeyGenerators: {
checkSystemExists(requestEnvelope: RequestEnvelope): boolean;
deviceId(requestEnvelope: RequestEnvelope): string;
getSystem(requestEnvelope: RequestEnvelope): SystemState;
getSystemDevice(requestEnvelope: RequestEnvelope): undefined | Device;
getSystemUser(requestEnvelope: RequestEnvelope): User;
personId(requestEnvelope: RequestEnvelope): string;
throwException(partitionUsed: string): void;
userId(requestEnvelope: RequestEnvelope): string;
} = ...
Type declaration
checkSystemExists:function
- checkSystemExists(requestEnvelope): boolean
Parameters
- requestEnvelope: RequestEnvelope
Returns boolean
deviceId:function
- deviceId(requestEnvelope): string
Parameters
- requestEnvelope: RequestEnvelope
Returns string
getSystem:function
- getSystem(requestEnvelope): SystemState
Parameters
- requestEnvelope: RequestEnvelope
Returns SystemState
getSystemDevice:function
- getSystemDevice(requestEnvelope): undefined | Device
Parameters
- requestEnvelope: RequestEnvelope
Returns undefined | Device
getSystemUser:function
- getSystemUser(requestEnvelope): User
Parameters
- requestEnvelope: RequestEnvelope
Returns User
personId:function
- personId(requestEnvelope): string
Parameters
- requestEnvelope: RequestEnvelope
Returns string
throwException:function
- throwException(partitionUsed): void
Returns void
userId:function
- userId(requestEnvelope): string
Parameters
- requestEnvelope: RequestEnvelope
Returns string
Object containing implementations of PartitionKeyGenerator.