public final class SQLHintExtractor extends Object
| Constructor and Description |
|---|
SQLHintExtractor(org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
findHintDataSourceName()
Find hint data source name.
|
boolean |
isHintWriteRouteOnly()
Judge whether is hint routed to write data source or not.
|
public SQLHintExtractor(org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement)
public Optional<String> findHintDataSourceName()
public boolean isHintWriteRouteOnly()
Copyright © 2022 The Apache Software Foundation. All rights reserved.