You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/11/09 02:38:28 UTC

[GitHub] [shardingsphere] tristaZero edited a comment on issue #8081: Can the shardingColumn for InlineShardingStrategy in The shardingProxy be a string (it's not a numeric string)?

tristaZero edited a comment on issue #8081:
URL: https://github.com/apache/shardingsphere/issues/8081#issuecomment-723720778


   There are many cases for `shardingColumn`, but generally my answer ti YES.
   ``` java
   /**
    * Sharding value for precise.
    */
   @RequiredArgsConstructor
   @Getter
   @ToString
   public final class PreciseShardingValue<T extends Comparable<?>> implements ShardingValue {
       
       private final String logicTableName;
       
       private final String columnName;
       
       private final T value; // Here it is T
   }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org