Class ShardArgument

    • Constructor Detail

      • ShardArgument

        public ShardArgument()
      • ShardArgument

        public ShardArgument​(ShardArgument source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getShardKey

        public Long getShardKey()
        Get 分片参数 KEY,整形, 范围 [1,1000]
        Returns:
        ShardKey 分片参数 KEY,整形, 范围 [1,1000]
      • setShardKey

        public void setShardKey​(Long ShardKey)
        Set 分片参数 KEY,整形, 范围 [1,1000]
        Parameters:
        ShardKey - 分片参数 KEY,整形, 范围 [1,1000]
      • getShardValue

        public String getShardValue()
        Get 分片参数 VALUE 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        ShardValue 分片参数 VALUE 注意:此字段可能返回 null,表示取不到有效值。
      • setShardValue

        public void setShardValue​(String ShardValue)
        Set 分片参数 VALUE 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        ShardValue - 分片参数 VALUE 注意:此字段可能返回 null,表示取不到有效值。