### Question:
ShardingSQL { public String getWhiteFields() { return whiteFields; } ShardingSQL(SQLObject sqlStmt, ShardingRouter shardingRouter); void setComment(String comment); String getComment(); boolean isQueryGlobalAutoCommit(); String getQueryAutoCommitHeader(); long getClientIdForKill(); void collectShardingColumnValue(int shardingRuleIndex, String value4ShardingKey); void generateOriginalShardedSQLs(); static String addPrefixComment(String queryComment, String sql); static void handleSQLConstruct(ShardingSQL shardingSQL, String sql, String queryComment,
        List<SQLStatement> stmtList); static ShardingSQL handleMySQLBasicly(String sql, String queryComment,
        ShardingRouter shardingRouter, Send2BatchCond batchCond,
        Predicate<String> whiteFieldsFilter); static ShardingSQL handlePGBasicly(String sql, String queryComment,
        ShardingRouter shardingRouter, Send2BatchCond batchCond,
        Predicate<String> whiteFieldsFilter); static void handleSQLSharding(ShardingSQL shardingSQL); boolean needRewriteSQLWhenNoSharding(); void setMostSafeSQL(String mostSafeSQL); String getMostSafeSQL(); String getOriginMostSafeSQL(); void setOriginMostSafeSQL(String originMostSafeSQL); IterableShardingResult getMappingResults(); void resetShardingResult(); String getWhiteFields(); void setWhiteFields(String whiteFields); String getOriginWhiteFields(); void setOriginWhiteFields(String originWhiteFields); void rewriteSQL4ReBalance(String reshardAt); boolean rewriteSQLHints(List<SQLHint> hints); static final Predicate<String> BLACK_FIELDS_FILTER; public boolean needCacheResult; public boolean needSharding; public Send2BatchCond send2Batch; public String tableName; public String tableNameLowerCase; public String tableNameAlias; public String specifyDB; public IterableShardingResult results; public String originSQL; public int autocommitValue; public boolean isContainsBindMasterExpr; public boolean isEZoneShardInfoRewrited; final Map<String, String> params; public String selected_value; public String next_begin; public String next_end; public QUERY_TYPE queryType; final SQLFeature sqlFeature; }### Answer:
@Test public void testSelectLimitSafeSQL() throws FileNotFoundException { String originalsql = "select * from some_table where x = 100 limit 2,3"; ShardingSQL rewriter = handleSQL(originalsql, ShardingRouter.defaultShardingRouter); assertEquals(rewriter.getWhiteFields(), "LIMIT 3 OFFSET 2"); }