Interface DatastoreShardId

    • Field Detail

      • QNAME

        static final @NonNull QName QNAME
    • Method Detail

      • getShardName

        String getShardName()
        Return shardName, or null if it is not present.
             
                 The name of the shard.
             
         
        Returns:
        String shardName, or null if it is not present.
      • requireShardName

        default @NonNull String requireShardName()
        Return shardName, guaranteed to be non-null.
             
                 The name of the shard.
             
         
        Returns:
        String shardName, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if shardName is not present
      • getDataStoreType

        DataStoreType getDataStoreType()
        Return dataStoreType, or null if it is not present.
             
                 The type of the data store to which the shard belongs
             
         
        Returns:
        DataStoreType dataStoreType, or null if it is not present.
      • requireDataStoreType

        default @NonNull DataStoreType requireDataStoreType()
        Return dataStoreType, guaranteed to be non-null.
             
                 The type of the data store to which the shard belongs
             
         
        Returns:
        DataStoreType dataStoreType, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if dataStoreType is not present