Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

AlwaysFalseRouteValue - Class in org.apache.shardingsphere.core.route.router.sharding.condition
Always false route value.
AlwaysFalseRouteValue() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.AlwaysFalseRouteValue
 
AlwaysFalseShardingCondition - Class in org.apache.shardingsphere.core.route.router.sharding.condition
Always false sharding condition.
AlwaysFalseShardingCondition() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.AlwaysFalseShardingCondition
 

B

BatchRouteUnit - Class in org.apache.shardingsphere.core.route
Batch route unit.
BatchRouteUnit(RouteUnit) - Constructor for class org.apache.shardingsphere.core.route.BatchRouteUnit
 

C

CartesianRoutingEngine - Class in org.apache.shardingsphere.core.route.type.complex
cartesian routing engine.
CartesianRoutingEngine() - Constructor for class org.apache.shardingsphere.core.route.type.complex.CartesianRoutingEngine
 
clear() - Static method in class org.apache.shardingsphere.core.route.router.masterslave.MasterVisitedManager
Clear master data source visited.
Column - Class in org.apache.shardingsphere.core.route.router.sharding.condition
Column.
Column() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.Column
 
ComplexRoutingEngine - Class in org.apache.shardingsphere.core.route.type.complex
Complex routing engine.
ComplexRoutingEngine() - Constructor for class org.apache.shardingsphere.core.route.type.complex.ComplexRoutingEngine
 
ConditionValue - Class in org.apache.shardingsphere.core.route.router.sharding.condition.generator
Condition value.
ConditionValue(ExpressionSegment, List<Object>) - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.generator.ConditionValue
 
ConditionValueBetweenOperatorGenerator - Class in org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl
Condition value generator for between operator.
ConditionValueBetweenOperatorGenerator() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl.ConditionValueBetweenOperatorGenerator
 
ConditionValueCompareOperatorGenerator - Class in org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl
Condition value generator for compare operator.
ConditionValueCompareOperatorGenerator() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl.ConditionValueCompareOperatorGenerator
 
ConditionValueGenerator<T extends org.apache.shardingsphere.sql.parser.sql.segment.dml.predicate.value.PredicateRightValue> - Interface in org.apache.shardingsphere.core.route.router.sharding.condition.generator
Condition value generator.
ConditionValueGeneratorFactory - Class in org.apache.shardingsphere.core.route.router.sharding.condition.generator
Condition value generator factory.
ConditionValueGeneratorFactory() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.generator.ConditionValueGeneratorFactory
 
ConditionValueInOperatorGenerator - Class in org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl
Condition value generator for in operator.
ConditionValueInOperatorGenerator() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl.ConditionValueInOperatorGenerator
 
createShardingConditions(InsertSQLStatementContext, GeneratedKey, List<Object>) - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.engine.InsertClauseShardingConditionEngine
Create sharding conditions.
createShardingConditions(SQLStatement, List<Object>) - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.engine.WhereClauseShardingConditionEngine
Create sharding conditions.

D

DatabaseBroadcastRoutingEngine - Class in org.apache.shardingsphere.core.route.type.broadcast
Broadcast routing engine for databases.
DatabaseBroadcastRoutingEngine() - Constructor for class org.apache.shardingsphere.core.route.type.broadcast.DatabaseBroadcastRoutingEngine
 
DataSourceGroupBroadcastRoutingEngine - Class in org.apache.shardingsphere.core.route.type.broadcast
Data source group broadcast routing engine.
DataSourceGroupBroadcastRoutingEngine() - Constructor for class org.apache.shardingsphere.core.route.type.broadcast.DataSourceGroupBroadcastRoutingEngine
 
DefaultDatabaseRoutingEngine - Class in org.apache.shardingsphere.core.route.type.defaultdb
Default datasource engine.
DefaultDatabaseRoutingEngine() - Constructor for class org.apache.shardingsphere.core.route.type.defaultdb.DefaultDatabaseRoutingEngine
 
DefaultTimeService - Class in org.apache.shardingsphere.core.route.spi
Default time service.
DefaultTimeService() - Constructor for class org.apache.shardingsphere.core.route.spi.DefaultTimeService
 

E

equals(Object) - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.Column
 
ExpressionConditionUtils - Class in org.apache.shardingsphere.core.route.router.sharding.condition
Expression judgment tool for route.
ExpressionConditionUtils() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.ExpressionConditionUtils
 

F

finishFailure(Exception) - Method in interface org.apache.shardingsphere.core.route.hook.RoutingHook
Handle when routing finished failure.
finishFailure(Exception) - Method in class org.apache.shardingsphere.core.route.hook.SPIRoutingHook
 
finishSuccess(SQLRouteResult, TableMetas) - Method in interface org.apache.shardingsphere.core.route.hook.RoutingHook
Handle when routing finished success.
finishSuccess(SQLRouteResult, TableMetas) - Method in class org.apache.shardingsphere.core.route.hook.SPIRoutingHook
 

G

generate(T, Column, List<Object>) - Method in interface org.apache.shardingsphere.core.route.router.sharding.condition.generator.ConditionValueGenerator
Generate route value.
generate(PredicateRightValue, Column, List<Object>) - Static method in class org.apache.shardingsphere.core.route.router.sharding.condition.generator.ConditionValueGeneratorFactory
Generate condition value.
generate(PredicateBetweenRightValue, Column, List<Object>) - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl.ConditionValueBetweenOperatorGenerator
 
generate(PredicateCompareRightValue, Column, List<Object>) - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl.ConditionValueCompareOperatorGenerator
 
generate(PredicateInRightValue, Column, List<Object>) - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl.ConditionValueInOperatorGenerator
 
GeneratedKey - Class in org.apache.shardingsphere.core.route.router.sharding.keygen
Generated key.
GeneratedKey() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.keygen.GeneratedKey
 
getActualTableNameGroups(String, Set<String>) - Method in class org.apache.shardingsphere.core.route.type.RoutingResult
Get actual tables group via data source name and logic tables' names.
getActualTableNames(String) - Method in class org.apache.shardingsphere.core.route.type.RoutingUnit
Get actual tables' names via data source name.
getColumnName() - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.AlwaysFalseRouteValue
 
getDataSourceLogicTablesMap(Collection<String>) - Method in class org.apache.shardingsphere.core.route.type.RoutingResult
Get map relationship between data source and logic tables via data sources' names.
getDataSourceNames() - Method in class org.apache.shardingsphere.core.route.type.RoutingResult
Get all data source names.
getGeneratedKey() - Method in class org.apache.shardingsphere.core.route.SQLRouteResult
Get generated key.
getGenerateKey(ShardingRule, TableMetas, List<Object>, InsertStatement) - Static method in class org.apache.shardingsphere.core.route.router.sharding.keygen.GeneratedKey
Get generate key.
getLogicTableNames() - Method in class org.apache.shardingsphere.core.route.type.RoutingUnit
Get logic tables' names via data source name.
getParameterSets() - Method in class org.apache.shardingsphere.core.route.BatchRouteUnit
Get parameter sets.
getTableName() - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.AlwaysFalseRouteValue
 
getTableUnit(String, String) - Method in class org.apache.shardingsphere.core.route.type.RoutingResult
Get routing table unit via data source name and actual table name.
getTableUnit(String, String) - Method in class org.apache.shardingsphere.core.route.type.RoutingUnit
Get routing table unit via data source name and actual table name.
getTime() - Method in class org.apache.shardingsphere.core.route.spi.DefaultTimeService
 
getTime() - Method in class org.apache.shardingsphere.core.route.spi.SPITimeService
 
getTime() - Method in interface org.apache.shardingsphere.core.route.spi.TimeService
Get time.
getValue() - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.generator.ConditionValue
Get condition value.

H

hashCode() - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.Column
 

I

IgnoreRoutingEngine - Class in org.apache.shardingsphere.core.route.type.ignore
Ignore routing engine.
IgnoreRoutingEngine() - Constructor for class org.apache.shardingsphere.core.route.type.ignore.IgnoreRoutingEngine
 
InsertClauseShardingConditionEngine - Class in org.apache.shardingsphere.core.route.router.sharding.condition.engine
Sharding condition engine for insert clause.
InsertClauseShardingConditionEngine() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.engine.InsertClauseShardingConditionEngine
 
isAlwaysFalse() - Method in class org.apache.shardingsphere.core.route.router.sharding.condition.ShardingConditions
Judge sharding conditions is always false or not.
isMasterVisited() - Static method in class org.apache.shardingsphere.core.route.router.masterslave.MasterVisitedManager
Judge master data source visited in current thread.
isNowExpression(ExpressionSegment) - Static method in class org.apache.shardingsphere.core.route.router.sharding.condition.ExpressionConditionUtils
Judge now() expression.
isSingleRouting() - Method in class org.apache.shardingsphere.core.route.type.RoutingResult
Judge is route for single database and table only or not.

L

logSQL(String, Collection<String>) - Static method in class org.apache.shardingsphere.core.route.SQLLogger
Print SQL log for master slave rule.
logSQL(String) - Static method in class org.apache.shardingsphere.core.route.SQLLogger
Print SQL log for encrypt rule.
logSQL(String, boolean, SQLStatementContext, Collection<RouteUnit>) - Static method in class org.apache.shardingsphere.core.route.SQLLogger
Print SQL log for sharding rule.

M

mapAddBatchCount(int) - Method in class org.apache.shardingsphere.core.route.BatchRouteUnit
Map times of use JDBC API call addBatch and times of actual call addBatch after route.
MasterInstanceBroadcastRoutingEngine - Class in org.apache.shardingsphere.core.route.type.broadcast
Broadcast routing engine for master instance of databases.
MasterInstanceBroadcastRoutingEngine() - Constructor for class org.apache.shardingsphere.core.route.type.broadcast.MasterInstanceBroadcastRoutingEngine
 
MasterSlaveRouter - Class in org.apache.shardingsphere.core.route.router.masterslave
Master slave router interface.
MasterSlaveRouter() - Constructor for class org.apache.shardingsphere.core.route.router.masterslave.MasterSlaveRouter
 
MasterVisitedManager - Class in org.apache.shardingsphere.core.route.router.masterslave
Master data source visited manager.
MasterVisitedManager() - Constructor for class org.apache.shardingsphere.core.route.router.masterslave.MasterVisitedManager
 

N

newInstance(ShardingRule, ShardingSphereMetaData, SQLStatementContext, ShardingConditions) - Static method in class org.apache.shardingsphere.core.route.router.sharding.RoutingEngineFactory
Create new instance of routing engine.
newInstance(SQLStatement) - Static method in class org.apache.shardingsphere.core.route.router.sharding.validator.ShardingStatementValidatorFactory
New instance of sharding statement validator.

O

org.apache.shardingsphere.core.route - package org.apache.shardingsphere.core.route
 
org.apache.shardingsphere.core.route.hook - package org.apache.shardingsphere.core.route.hook
 
org.apache.shardingsphere.core.route.router.masterslave - package org.apache.shardingsphere.core.route.router.masterslave
 
org.apache.shardingsphere.core.route.router.sharding - package org.apache.shardingsphere.core.route.router.sharding
 
org.apache.shardingsphere.core.route.router.sharding.condition - package org.apache.shardingsphere.core.route.router.sharding.condition
 
org.apache.shardingsphere.core.route.router.sharding.condition.engine - package org.apache.shardingsphere.core.route.router.sharding.condition.engine
 
org.apache.shardingsphere.core.route.router.sharding.condition.generator - package org.apache.shardingsphere.core.route.router.sharding.condition.generator
 
org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl - package org.apache.shardingsphere.core.route.router.sharding.condition.generator.impl
 
org.apache.shardingsphere.core.route.router.sharding.keygen - package org.apache.shardingsphere.core.route.router.sharding.keygen
 
org.apache.shardingsphere.core.route.router.sharding.validator - package org.apache.shardingsphere.core.route.router.sharding.validator
 
org.apache.shardingsphere.core.route.router.sharding.validator.impl - package org.apache.shardingsphere.core.route.router.sharding.validator.impl
 
org.apache.shardingsphere.core.route.spi - package org.apache.shardingsphere.core.route.spi
 
org.apache.shardingsphere.core.route.type - package org.apache.shardingsphere.core.route.type
 
org.apache.shardingsphere.core.route.type.broadcast - package org.apache.shardingsphere.core.route.type.broadcast
 
org.apache.shardingsphere.core.route.type.complex - package org.apache.shardingsphere.core.route.type.complex
 
org.apache.shardingsphere.core.route.type.defaultdb - package org.apache.shardingsphere.core.route.type.defaultdb
 
org.apache.shardingsphere.core.route.type.ignore - package org.apache.shardingsphere.core.route.type.ignore
 
org.apache.shardingsphere.core.route.type.standard - package org.apache.shardingsphere.core.route.type.standard
 
org.apache.shardingsphere.core.route.type.unicast - package org.apache.shardingsphere.core.route.type.unicast
 

P

parse(String, boolean) - Method in class org.apache.shardingsphere.core.route.router.sharding.ShardingRouter
Parse SQL.
PreparedStatementRoutingEngine - Class in org.apache.shardingsphere.core.route
PreparedStatement routing engine.
PreparedStatementRoutingEngine(String, ShardingRule, ShardingSphereMetaData, SQLParseEngine) - Constructor for class org.apache.shardingsphere.core.route.PreparedStatementRoutingEngine
 

R

route(List<Object>) - Method in class org.apache.shardingsphere.core.route.PreparedStatementRoutingEngine
SQL route.
route(String, boolean) - Method in class org.apache.shardingsphere.core.route.router.masterslave.MasterSlaveRouter
Route Master slave.
route(SQLRouteResult) - Method in class org.apache.shardingsphere.core.route.router.masterslave.ShardingMasterSlaveRouter
Route Master slave after sharding.
route(String, List<Object>, SQLStatement) - Method in class org.apache.shardingsphere.core.route.router.sharding.ShardingRouter
Route SQL.
route(String) - Method in class org.apache.shardingsphere.core.route.StatementRoutingEngine
SQL route.
route() - Method in class org.apache.shardingsphere.core.route.type.broadcast.DatabaseBroadcastRoutingEngine
 
route() - Method in class org.apache.shardingsphere.core.route.type.broadcast.DataSourceGroupBroadcastRoutingEngine
 
route() - Method in class org.apache.shardingsphere.core.route.type.broadcast.MasterInstanceBroadcastRoutingEngine
 
route() - Method in class org.apache.shardingsphere.core.route.type.broadcast.TableBroadcastRoutingEngine
 
route() - Method in class org.apache.shardingsphere.core.route.type.complex.CartesianRoutingEngine
 
route() - Method in class org.apache.shardingsphere.core.route.type.complex.ComplexRoutingEngine
 
route() - Method in class org.apache.shardingsphere.core.route.type.defaultdb.DefaultDatabaseRoutingEngine
 
route() - Method in class org.apache.shardingsphere.core.route.type.ignore.IgnoreRoutingEngine
 
route() - Method in interface org.apache.shardingsphere.core.route.type.RoutingEngine
Route.
route() - Method in class org.apache.shardingsphere.core.route.type.standard.StandardRoutingEngine
 
route() - Method in class org.apache.shardingsphere.core.route.type.unicast.UnicastRoutingEngine
 
RouteUnit - Class in org.apache.shardingsphere.core.route
Route unit.
RouteUnit() - Constructor for class org.apache.shardingsphere.core.route.RouteUnit
 
RoutingEngine - Interface in org.apache.shardingsphere.core.route.type
Routing engine interface.
RoutingEngineFactory - Class in org.apache.shardingsphere.core.route.router.sharding
Routing engine factory.
RoutingEngineFactory() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.RoutingEngineFactory
 
RoutingHook - Interface in org.apache.shardingsphere.core.route.hook
Routing hook.
RoutingResult - Class in org.apache.shardingsphere.core.route.type
Routing result.
RoutingResult() - Constructor for class org.apache.shardingsphere.core.route.type.RoutingResult
 
RoutingUnit - Class in org.apache.shardingsphere.core.route.type
Routing unit.
RoutingUnit(String) - Constructor for class org.apache.shardingsphere.core.route.type.RoutingUnit
 

S

setMasterVisited() - Static method in class org.apache.shardingsphere.core.route.router.masterslave.MasterVisitedManager
Set master data source visited in current thread.
ShardingCondition - Class in org.apache.shardingsphere.core.route.router.sharding.condition
Sharding condition.
ShardingCondition() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.ShardingCondition
 
ShardingConditions - Class in org.apache.shardingsphere.core.route.router.sharding.condition
Sharding conditions.
ShardingConditions() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.ShardingConditions
 
ShardingInsertStatementValidator - Class in org.apache.shardingsphere.core.route.router.sharding.validator.impl
Sharding insert statement validator.
ShardingInsertStatementValidator() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.validator.impl.ShardingInsertStatementValidator
 
ShardingMasterSlaveRouter - Class in org.apache.shardingsphere.core.route.router.masterslave
Sharding with master-slave router interface.
ShardingMasterSlaveRouter() - Constructor for class org.apache.shardingsphere.core.route.router.masterslave.ShardingMasterSlaveRouter
 
ShardingRouter - Class in org.apache.shardingsphere.core.route.router.sharding
Sharding router.
ShardingRouter() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.ShardingRouter
 
ShardingStatementValidator<T extends org.apache.shardingsphere.sql.parser.sql.statement.SQLStatement> - Interface in org.apache.shardingsphere.core.route.router.sharding.validator
Sharding statement validator.
ShardingStatementValidatorFactory - Class in org.apache.shardingsphere.core.route.router.sharding.validator
Sharding statement validator factory.
ShardingStatementValidatorFactory() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.validator.ShardingStatementValidatorFactory
 
ShardingUpdateStatementValidator - Class in org.apache.shardingsphere.core.route.router.sharding.validator.impl
Sharding update statement validator.
ShardingUpdateStatementValidator() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.validator.impl.ShardingUpdateStatementValidator
 
SPIRoutingHook - Class in org.apache.shardingsphere.core.route.hook
Routing hook for SPI.
SPIRoutingHook() - Constructor for class org.apache.shardingsphere.core.route.hook.SPIRoutingHook
 
SPITimeService - Class in org.apache.shardingsphere.core.route.spi
Time service for SPI.
SPITimeService() - Constructor for class org.apache.shardingsphere.core.route.spi.SPITimeService
 
SQLLogger - Class in org.apache.shardingsphere.core.route
SQL logger.
SQLLogger() - Constructor for class org.apache.shardingsphere.core.route.SQLLogger
 
SQLRouteResult - Class in org.apache.shardingsphere.core.route
SQL route result.
SQLRouteResult(SQLStatementContext, ShardingConditions) - Constructor for class org.apache.shardingsphere.core.route.SQLRouteResult
 
SQLUnit - Class in org.apache.shardingsphere.core.route
SQL unit.
SQLUnit() - Constructor for class org.apache.shardingsphere.core.route.SQLUnit
 
StandardRoutingEngine - Class in org.apache.shardingsphere.core.route.type.standard
Standard routing engine.
StandardRoutingEngine() - Constructor for class org.apache.shardingsphere.core.route.type.standard.StandardRoutingEngine
 
start(String) - Method in interface org.apache.shardingsphere.core.route.hook.RoutingHook
Handle when routing started.
start(String) - Method in class org.apache.shardingsphere.core.route.hook.SPIRoutingHook
 
StatementRoutingEngine - Class in org.apache.shardingsphere.core.route
Statement routing engine.
StatementRoutingEngine(ShardingRule, ShardingSphereMetaData, SQLParseEngine) - Constructor for class org.apache.shardingsphere.core.route.StatementRoutingEngine
 

T

TableBroadcastRoutingEngine - Class in org.apache.shardingsphere.core.route.type.broadcast
Broadcast routing engine for tables.
TableBroadcastRoutingEngine() - Constructor for class org.apache.shardingsphere.core.route.type.broadcast.TableBroadcastRoutingEngine
 
TableUnit - Class in org.apache.shardingsphere.core.route.type
Routing table unit.
TableUnit() - Constructor for class org.apache.shardingsphere.core.route.type.TableUnit
 
TimeService - Interface in org.apache.shardingsphere.core.route.spi
Time service.

U

UnicastRoutingEngine - Class in org.apache.shardingsphere.core.route.type.unicast
Unicast routing engine.
UnicastRoutingEngine() - Constructor for class org.apache.shardingsphere.core.route.type.unicast.UnicastRoutingEngine
 

V

validate(ShardingRule, InsertStatement, List<Object>) - Method in class org.apache.shardingsphere.core.route.router.sharding.validator.impl.ShardingInsertStatementValidator
 
validate(ShardingRule, UpdateStatement, List<Object>) - Method in class org.apache.shardingsphere.core.route.router.sharding.validator.impl.ShardingUpdateStatementValidator
 
validate(ShardingRule, T, List<Object>) - Method in interface org.apache.shardingsphere.core.route.router.sharding.validator.ShardingStatementValidator
Validate whether sharding operation is supported.

W

WhereClauseShardingConditionEngine - Class in org.apache.shardingsphere.core.route.router.sharding.condition.engine
Sharding condition engine for where clause.
WhereClauseShardingConditionEngine() - Constructor for class org.apache.shardingsphere.core.route.router.sharding.condition.engine.WhereClauseShardingConditionEngine
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2020 The Apache Software Foundation. All rights reserved.