Uses of Class
no.sikt.graphitron.generators.context.FetchContext
Packages that use FetchContext
Package
Description
-
Uses of FetchContext in no.sikt.graphitron.generators.codebuilding
Methods in no.sikt.graphitron.generators.codebuilding with parameters of type FetchContextModifier and TypeMethodDescriptionstatic no.sikt.graphitron.javapoet.CodeBlockFormatCodeBlocks.getSelectKeyColumn(FetchContext context) static no.sikt.graphitron.javapoet.CodeBlockFormatCodeBlocks.getSelectKeyColumnRow(FetchContext context) Returns codeblock for selecting key columns for the resolver keystatic no.sikt.graphitron.javapoet.CodeBlockFormatCodeBlocks.inResolverKeysBlock(String resolverKeyParamName, FetchContext context) -
Uses of FetchContext in no.sikt.graphitron.generators.context
Methods in no.sikt.graphitron.generators.context that return FetchContextModifier and TypeMethodDescriptionFetchContext.forVirtualField(VirtualSourceField field) FetchContext.nextContext(GenerationField referenceObjectField) FetchContext.withShouldUseOptional(boolean shouldUseOptional) -
Uses of FetchContext in no.sikt.graphitron.generators.db
Methods in no.sikt.graphitron.generators.db with parameters of type FetchContextModifier and TypeMethodDescriptionprotected no.sikt.graphitron.javapoet.CodeBlockFetchDBMethodGenerator.createMapping(FetchContext context, List<? extends GenerationField> fieldsWithoutSplitting, HashMap<String, String> referenceFieldSources, List<no.sikt.graphitron.javapoet.CodeBlock> rowElements, LinkedHashSet<KeyWrapper> keySet) protected no.sikt.graphitron.javapoet.CodeBlockEntityDBFetcherMethodGenerator.formatWhere(FetchContext context) protected no.sikt.graphitron.javapoet.CodeBlockFetchDBMethodGenerator.formatWhereContents(FetchContext context, String resolverKeyParamName, boolean isRoot, boolean isResolverRoot) protected no.sikt.graphitron.javapoet.CodeBlockFetchDBMethodGenerator.generateCorrelatedSubquery(GenerationField field, FetchContext context) protected no.sikt.graphitron.javapoet.CodeBlockFetchDBMethodGenerator.generateForField(GenerationField field, FetchContext context) Generate a single argument in the row method call.protected no.sikt.graphitron.javapoet.CodeBlockFetchDBMethodGenerator.generateForField(GenerationField field, FetchContext context, boolean overrideEnum) Generate a single argument in the row method call.protected no.sikt.graphitron.javapoet.CodeBlockFetchDBMethodGenerator.generateForUnionField(GenerationField field, FetchContext context) Generate select row for each object within the union fieldprotected no.sikt.graphitron.javapoet.CodeBlockEntityDBFetcherMethodGenerator.generateSelectRow(FetchContext context) This method recursively generates one single row method call.protected no.sikt.graphitron.javapoet.CodeBlockFetchDBMethodGenerator.generateSelectRow(FetchContext context) This method recursively generates one single row method call.protected no.sikt.graphitron.javapoet.CodeBlockFetchSingleTableInterfaceDBMethodGenerator.generateSelectRow(FetchContext context, ObjectField target, Set<ObjectDefinition> implementations, HashMap<String, Set<String>> overriddenFields) protected no.sikt.graphitron.javapoet.CodeBlockFetchDBMethodGenerator.getHelperMethodCallForNestedField(ObjectField field, FetchContext context) Override this method to provide a helper method call for nested record type fields.protected no.sikt.graphitron.javapoet.CodeBlockFetchMappedObjectDBMethodGenerator.getHelperMethodCallForNestedField(ObjectField field, FetchContext context) protected no.sikt.graphitron.javapoet.CodeBlockFetchDBMethodGenerator.getInitialKey(FetchContext context) protected no.sikt.graphitron.javapoet.CodeBlockEntityDBFetcherMethodGenerator.getSelectCode(GenerationField field, FetchContext context) protected org.apache.commons.lang3.tuple.Pair<no.sikt.graphitron.javapoet.CodeBlock,String> FetchDBMethodGenerator.getSelectCodeAndFieldSource(GenerationField field, FetchContext context)