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:10:42 UTC

[GitHub] [shardingsphere] duzhanfei opened a new issue #8081: Can the shardingColumn for InlineShardingStrategy in The shardingProxy be a string (it's not a numeric string)?

duzhanfei opened a new issue #8081:
URL: https://github.com/apache/shardingsphere/issues/8081


   


----------------------------------------------------------------
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



[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)?

Posted by GitBox <gi...@apache.org>.
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 is 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



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

Posted by GitBox <gi...@apache.org>.
tristaZero commented 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.
   ``
   /**
    * 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



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

Posted by GitBox <gi...@apache.org>.
duzhanfei closed issue #8081:
URL: https://github.com/apache/shardingsphere/issues/8081


   


----------------------------------------------------------------
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



[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)?

Posted by GitBox <gi...@apache.org>.
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



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

Posted by GitBox <gi...@apache.org>.
duzhanfei commented on issue #8081:
URL: https://github.com/apache/shardingsphere/issues/8081#issuecomment-723733842


   thank you very much.
   
   
   
   At 2020-11-09 10:38:13, "Juan Pan(Trista)" <no...@github.com> wrote:
   
   There are many cases for shardingColumn, but generally my answer ti YES.
   ``
   /**
   
   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
   }
   
   —
   You are receiving this because you authored the thread.
   Reply to this email directly, view it on GitHub, or unsubscribe.


----------------------------------------------------------------
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