@ file : Suppress (" DE PREC ATION ") Ċ Ċ package Ġio . github . wic ke dev . graphql . spring . data . r 2 dbc . factory Ċ Ċ import Ġio . github . wic ke dev . graphql . spring . data . r 2 dbc . extent ions . isAssignableFrom Ċ import Ġio . github . wic ke dev . graphql . spring . data . r 2 dbc . repository . Simple GraphQL R 2 dbc Repository Ċ import Ġio . github . wic ke dev . graphql . spring . data . r 2 dbc . repository . interfaces . GraphQL R 2 dbc Repository Ċ import Ġio . github . wic ke dev . graphql . spring . data . r 2 dbc . strategy . Additional Is New Strategy Ċ import Ġorg . springframework . data . mapping . context . Mapping Context Ċ import Ġorg . springframework . data . r 2 dbc . convert . R 2 dbc Converter Ċ import Ġorg . springframework . data . r 2 dbc . core . R 2 dbc Entity Operations Ċ import Ġorg . springframework . data . r 2 dbc . core . R 2 dbc Entity Template Ċ import Ġorg . springframework . data . r 2 dbc . core . Reactive DataAccess Strategy Ċ import Ġorg . springframework . data . r 2 dbc . core . Statement Mapper Ċ import Ġorg . springframework . data . r 2 dbc . repository . support . GraphQL R 2 dbc Query Lookup Strategy Ċ import Ġorg . springframework . data . r 2 dbc . repository . support . R 2 dbc Repository Factory Ċ import Ġorg . springframework . data . relational . core . mapping . Relational Persistent Entity Ċ import Ġorg . springframework . data . relational . core . mapping . Relational Persistent Property Ċ import Ġorg . springframework . data . relational . repository . query . Relational Entity Information Ċ import Ġorg . springframework . data . repository . core . Repository Information Ċ import Ġorg . springframework . data . repository . core . Repository Metadata Ċ import Ġorg . springframework . data . repository . core . support . Query Creation Listener Ċ import Ġorg . springframework . data . repository . query . Query Lookup Strategy Ċ import Ġorg . springframework . data . repository . query . Query Method Ċ import Ġorg . springframework . data . repository . query . Query Method Evaluation Context Provider Ċ import Ġorg . springframework . data . repository . query . Reactive Query Method Evaluation Context Provider Ċ import Ġorg . springframework . lang . Nullable Ċ import Ġorg . springframework . r 2 dbc . core . Database Client Ċ import Ġjava . util .* Ċ Ċ class ĠGraphQL Simple R 2 dbc Repository Factory Ġ: ĠR 2 dbc Repository Factory Ġ{ ĊĠĠĠ Ġprivate Ġval Ġdatabase Client : ĠDatabase Client ĊĠĠĠ Ġprivate Ġval Ġdata Access Strategy : ĠReactive DataAccess Strategy ĊĠĠĠ Ġprivate Ġval Ġmapping Context : ĠMapping Context < out ĠRel ational Persistent Entity <* >, Ġout ĠRel ational Persistent Property > ĊĠĠĠ Ġprivate Ġval Ġconverter : ĠR 2 dbc Converter ĊĠĠĠ Ġprivate Ġval Ġoperations : ĠR 2 dbc Entity Operations ĊĠĠĠ Ġprivate Ġval Ġstatement Mapper : ĠStatement Mapper ĊĠĠĠ Ġprivate Ġval Ġadditional Is New Strategy : ĠAdditional Is New Strategy ? ĊĊĠĠĠ Ġconstructor ( ĊĠĠĠĠĠĠĠ Ġdatabase Client : ĠDatabase Client , ĊĠĠĠĠĠĠĠ Ġdata Access Strategy : ĠReactive DataAccess Strategy , ĊĠĠĠĠĠĠĠ Ġadditional Is New Strategy : ĠAdditional Is New Strategy ?, ĊĠĠĠ Ġ) Ġ: Ġsuper ( ĊĠĠĠĠĠĠĠ Ġdatabase Client , ĊĠĠĠĠĠĠĠ Ġdata Access Strategy ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . database Client Ġ= Ġdatabase Client ĊĠĠĠĠĠĠĠ Ġthis . data Access Strategy Ġ= Ġdata Access Strategy ĊĠĠĠĠĠĠĠ Ġthis . converter Ġ= Ġdata Access Strategy . converter ĊĠĠĠĠĠĠĠ Ġthis . mapping Context Ġ= Ġconverter . mapping Context ĊĠĠĠĠĠĠĠ Ġthis . operations Ġ= ĠR 2 dbc Entity Template ( database Client , Ġdata Access Strategy ) ĊĠĠĠĠĠĠĠ Ġthis . statement Mapper Ġ= Ġdata Access Strategy . statement Mapper ĊĠĠĠĠĠĠĠ Ġthis . additional Is New Strategy Ġ= Ġadditional Is New Strategy ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġconstructor ( ĊĠĠĠĠĠĠĠ Ġoperations : ĠR 2 dbc Entity Operations , ĊĠĠĠĠĠĠĠ Ġadditional Is New Strategy : ĠAdditional Is New Strategy ? ĊĠĠĠ Ġ) Ġ: Ġsuper ( operations ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . database Client Ġ= Ġoperations . database Client ĊĠĠĠĠĠĠĠ Ġthis . data Access Strategy Ġ= Ġoperations . data Access Strategy ĊĠĠĠĠĠĠĠ Ġthis . converter Ġ= Ġdata Access Strategy . converter ĊĠĠĠĠĠĠĠ Ġthis . mapping Context Ġ= Ġconverter . mapping Context ĊĠĠĠĠĠĠĠ Ġthis . operations Ġ= Ġoperations ĊĠĠĠĠĠĠĠ Ġthis . statement Mapper Ġ= Ġdata Access Strategy . statement Mapper ĊĠĠĠĠĠĠĠ Ġthis . additional Is New Strategy Ġ= Ġadditional Is New Strategy ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Target Repository ( information : ĠRepository Information ): ĠAny ? Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġentity Information : ĠRel ational Entity Information < *, ĠAny > Ġ= Ġget Entity Information ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġinformation . domain Type , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġinformation ĊĠĠĠĠĠĠĠ Ġ) ĊĊĠĠĠĠĠĠĠ Ġif Ġ( GraphQL R 2 dbc Repository :: class . isAssignableFrom ( information . repository Interface )) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġget Target Repository Via Reflection ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġinformation , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġdatabase Client , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġstatement Mapper , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġinformation , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġentity Information , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġoperations , Ġconverter ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġreturn Ġget Target Repository Via Reflection ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġinformation , Ġentity Information , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġoperations , Ġconverter ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġ< T Ġ: ĠAny ?, ĠID Ġ: ĠAny ?> Ġget Entity Information ( domain Class : ĠClass < T >): ĠRel ational Entity Information < T , ĠID > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġget Entity Information ( domain Class , Ġnull ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Suppress (" UNUSED _ PARAMETER ") ĊĠĠĠ Ġprivate Ġfun Ġ< T , ĠID > Ġget Entity Information ( ĊĠĠĠĠĠĠĠ Ġdomain Class : ĠClass < T >, ĊĠĠĠĠĠĠĠ Ġinformation : ĠRepository Information ? ĊĠĠĠ Ġ): ĠRel ational Entity Information < T , ĠID > Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġentity Ġ= Ġmapping Context . get Required Persistent Entity ( domain Class ) ĊĠĠĠĠĠĠĠ Ġ@ Suppress (" UN CHECK ED _ CAST ") ĊĠĠĠĠĠĠĠ Ġreturn ĠGraphQL Mapping Relational Entity Information ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġentity Ġas ĠRel ational Persistent Entity < T >, ĊĠĠĠĠĠĠĠĠĠĠĠ Ġadditional Is New Strategy ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Repository Base Class ( metadata : ĠRepository Metadata ): ĠClass < *> Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġrepository Interface Ġ= Ġmetadata . repository Interface ĊĊĠĠĠĠĠĠĠ Ġif Ġ( GraphQL R 2 dbc Repository :: class . isAssignableFrom ( repository Interface )) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĠSimple GraphQL R 2 dbc Repository :: class . java ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġreturn Ġsuper . getRepository Base Class ( metadata ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Query Lookup Strategy ( ĊĠĠĠĠĠĠĠ Ġ@ Nullable Ġkey : ĠQuery Lookup Strategy . Key ?, ĊĠĠĠĠĠĠĠ Ġevaluation Context Provider : ĠQuery Method Evaluation Context Provider ĊĠĠĠ Ġ): ĠOptional < Query Lookup Strategy > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠOptional . of ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠGraphQL R 2 dbc Query Lookup Strategy ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġthis . operations , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġevaluation Context Provider Ġas ĠReactive Query Method Evaluation Context Provider , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġthis . converter , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġthis . data Access Strategy ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ } Ċ