Uses of Interface
no.sikt.graphitron.definitions.interfaces.GenerationField
Packages that use GenerationField
Package
Description
-
Uses of GenerationField in no.sikt.graphitron.definitions.fields
Classes in no.sikt.graphitron.definitions.fields that implement GenerationFieldModifier and TypeClassDescriptionclassAn argument for aObjectField.classGenerationSourceField<T extends graphql.language.NamedNode<T> & graphql.language.DirectivesContainer<T>>This class represents the general functionality associated with GraphQLs fields that can initialise code generation.classA field for aInputDefinition.classRepresents the default field type, which in addition to the generic field functionality also provides join operation data.classVirtual field for when we want to have a virtual source for code generation. -
Uses of GenerationField in no.sikt.graphitron.definitions.helpers
Methods in no.sikt.graphitron.definitions.helpers that return types with arguments of type GenerationFieldModifier and TypeMethodDescriptionInputConditions.declaredConditionsByField()Returns the value of thedeclaredConditionsByFieldrecord component.Constructor parameters in no.sikt.graphitron.definitions.helpers with type arguments of type GenerationFieldModifierConstructorDescriptionInputConditions(List<InputCondition> independentConditions, List<InputConditions.ConditionTuple> conditionTuples, Map<GenerationField, List<InputCondition>> declaredConditionsByField) Creates an instance of aInputConditionsrecord class. -
Uses of GenerationField in no.sikt.graphitron.definitions.interfaces
Classes in no.sikt.graphitron.definitions.interfaces with type parameters of type GenerationFieldModifier and TypeInterfaceDescriptioninterfaceRecordObjectSpecification<T extends GenerationField>Specifies that this Java object represents a GraphQL object. -
Uses of GenerationField in no.sikt.graphitron.definitions.objects
Classes in no.sikt.graphitron.definitions.objects with type parameters of type GenerationFieldModifier and TypeClassDescriptionclassRecordObjectDefinition<T extends graphql.language.TypeDefinition<T>,U extends GenerationField> A generalized implementation ofObjectSpecificationfor types that can be linked to tables or records.Methods in no.sikt.graphitron.definitions.objects with parameters of type GenerationFieldModifier and TypeMethodDescriptionprotected booleanRecordObjectDefinition.isNonNullable(GenerationField field) -
Uses of GenerationField in no.sikt.graphitron.generators.abstractions
Classes in no.sikt.graphitron.generators.abstractions with type parameters of type GenerationFieldMethods in no.sikt.graphitron.generators.abstractions that return GenerationFieldMethods in no.sikt.graphitron.generators.abstractions with parameters of type GenerationFieldModifier and TypeMethodDescriptionprotected ServiceDependencyResolverMethodGenerator.createServiceDependency(GenerationField target) protected abstract booleanAbstractMapperClassGenerator.filterProperties(GenerationField field) protected List<ParameterSpec>DBMethodGenerator.getContextParameters(GenerationField referenceField) AbstractMapperMethodGenerator.getMapperSpecBuilder(GenerationField target) protected TypeNameAbstractSchemaMethodGenerator.inferFieldTypeName(GenerationField field, boolean checkRecordReferences) protected TypeNameAbstractSchemaMethodGenerator.iterableWrapType(GenerationField field) protected TypeNameDBMethodGenerator.iterableWrapType(GenerationField field) protected CodeBlockDataFetcherMethodGenerator.transformDTOBlock(GenerationField field, CodeBlock source) Constructors in no.sikt.graphitron.generators.abstractions with parameters of type GenerationFieldModifierConstructorDescriptionAbstractMapperMethodGenerator(GenerationField localField, ProcessedSchema processedSchema, boolean toRecord) -
Uses of GenerationField in no.sikt.graphitron.generators.codebuilding
Methods in no.sikt.graphitron.generators.codebuilding with parameters of type GenerationFieldModifier and TypeMethodDescriptionstatic KeyWrapperKeyWrapper.findKeyForResolverField(GenerationField field, ProcessedSchema processedSchema) Finds the key used in the first step when resolving a resolver fieldstatic TypeNameKeyWrapper.getKeyRowTypeName(GenerationField field, ProcessedSchema schema) Get the Row TypeName for the key used for a resolver fieldstatic @NotNull CodeBlockFormatCodeBlocks.getNodeQueryCallBlock(GenerationField field, String variableName, CodeBlock path, boolean atResolver) static CodeBlockMappingCodeBlocks.idFetchAllowingDuplicates(MapperContext context, GenerationField field, String varName, boolean atResolver) Deprecated.Method parameters in no.sikt.graphitron.generators.codebuilding with type arguments of type GenerationFieldModifier and TypeMethodDescriptionstatic LinkedHashMap<String,KeyWrapper> KeyWrapper.getKeyMapForResolverFields(List<? extends GenerationField> fields, ProcessedSchema schema) Get map of field names to keys used in the first step of the reference in resolver fields.static LinkedHashSet<KeyWrapper>KeyWrapper.getKeySetForResolverFields(List<? extends GenerationField> fields, ProcessedSchema schema) Get the set of keys used in the resolver fields given a list of fields. -
Uses of GenerationField in no.sikt.graphitron.generators.context
Methods in no.sikt.graphitron.generators.context that return GenerationFieldModifier and TypeMethodDescriptionFetchContext.getReferenceObjectField()MapperContext.getTarget()Methods in no.sikt.graphitron.generators.context that return types with arguments of type GenerationFieldMethods in no.sikt.graphitron.generators.context with parameters of type GenerationFieldModifier and TypeMethodDescriptionstatic MapperContextMapperContext.createContext(GenerationField target, boolean toRecord, boolean mapsJavaRecord, ProcessedSchema schema) static MapperContextMapperContext.createResolverContext(GenerationField target, boolean toRecord, ProcessedSchema schema) static MapperContextMapperContext.createValidationContext(GenerationField target, ProcessedSchema schema) static Optional<org.jooq.ForeignKey<?,?>> JooqRecordReferenceHelpers.getForeignKeyForNodeIdReference(GenerationField target, ProcessedSchema schema) static CodeBlockJooqRecordReferenceHelpers.getSourceFieldsForForeignKey(GenerationField target, ProcessedSchema schema, CodeBlock targetAlias) MapperContext.iterateContext(GenerationField field) FetchContext.iterateJoinSequenceFor(GenerationField field) Iterate the table sequence as if several context layers were traversed with the provided references.FetchContext.nextContext(GenerationField referenceObjectField) -
Uses of GenerationField in no.sikt.graphitron.generators.db
Methods in no.sikt.graphitron.generators.db with parameters of type GenerationFieldModifier and TypeMethodDescriptionprotected CodeBlockFetchDBMethodGenerator.generateCorrelatedSubquery(GenerationField field, FetchContext context) protected CodeBlockFetchDBMethodGenerator.generateForScalarField(GenerationField field, FetchContext context) Generate a single argument in the row method call.protected CodeBlockFetchDBMethodGenerator.generateForScalarField(GenerationField field, FetchContext context, boolean overrideEnum) Generate a single argument in the row method call.protected CodeBlockFetchDBMethodGenerator.generateForUnionField(GenerationField field, FetchContext context) Generate select row for each object within the union fieldprotected CodeBlockEntityDBFetcherMethodGenerator.getSelectCode(GenerationField field, FetchContext context) FetchDBMethodGenerator.getSelectCodeAndFieldSource(GenerationField field, FetchContext context) protected StringFetchDBMethodGenerator.inferFieldNamingConvention(GenerationField field) Method parameters in no.sikt.graphitron.generators.db with type arguments of type GenerationFieldModifier and TypeMethodDescriptionprotected CodeBlockFetchDBMethodGenerator.createMapping(FetchContext context, List<? extends GenerationField> fieldsWithoutSplitting, HashMap<String, String> referenceFieldSources, List<CodeBlock> rowElements, LinkedHashSet<KeyWrapper> keySet) -
Uses of GenerationField in no.sikt.graphitron.generators.mapping
Methods in no.sikt.graphitron.generators.mapping with parameters of type GenerationFieldModifier and TypeMethodDescriptionprotected booleanJavaRecordMapperClassGenerator.filterProperties(GenerationField field) protected booleanRecordMapperClassGenerator.filterProperties(GenerationField field) JavaRecordMapperClassGenerator.generate(GenerationField target) JavaRecordMapperMethodGenerator.generate(GenerationField target) RecordMapperClassGenerator.generate(GenerationField target) RecordMapperMethodGenerator.generate(GenerationField target) RecordValidatorMethodGenerator.generate(GenerationField target) TransformerListMethodGenerator.generate(GenerationField target) TransformerMethodGenerator.generate(GenerationField target) protected CodeBlockTransformerListMethodGenerator.getMethodContent(GenerationField target) protected CodeBlockTransformerMethodGenerator.getMethodContent(GenerationField target) Constructors in no.sikt.graphitron.generators.mapping with parameters of type GenerationFieldModifierConstructorDescriptionJavaRecordMapperMethodGenerator(GenerationField localField, ProcessedSchema processedSchema, boolean toRecord) RecordMapperMethodGenerator(GenerationField localField, ProcessedSchema processedSchema, boolean toRecord) RecordValidatorMethodGenerator(GenerationField localField, ProcessedSchema processedSchema) -
Uses of GenerationField in no.sikt.graphitron.generators.resolvers.datafetchers.operations
Methods in no.sikt.graphitron.generators.resolvers.datafetchers.operations with parameters of type GenerationFieldModifier and TypeMethodDescriptionprotected booleanOperationMethodGenerator.generationCondition(GenerationField target) -
Uses of GenerationField in no.sikt.graphitron.generators.resolvers.kickstart.fetch
Methods in no.sikt.graphitron.generators.resolvers.kickstart.fetch with parameters of type GenerationFieldModifier and TypeMethodDescriptionprotected booleanFetchResolverMethodGenerator.generationCondition(GenerationField target) -
Uses of GenerationField in no.sikt.graphql.schema
Methods in no.sikt.graphql.schema that return types with arguments of type GenerationFieldModifier and TypeMethodDescriptionMap<String,RecordObjectSpecification<? extends GenerationField>> ProcessedSchema.getRecordTypes()ProcessedSchema.getTransformableFields()Methods in no.sikt.graphql.schema with parameters of type GenerationFieldModifier and TypeMethodDescriptionProcessedSchema.findInputTables(GenerationField field) Simple method that tries to find a table reference in the input records.ProcessedSchema.getAllContextFields(GenerationField field) ProcessedSchema.getConnectionObject(GenerationField field) ProcessedSchema.getInputType(GenerationField field) ProcessedSchema.getObjectOrConnectionNode(GenerationField field) ProcessedSchema.getRecordType(GenerationField field) ProcessedSchema.getUnion(GenerationField field) booleanProcessedSchema.hasInputJOOQRecord(GenerationField field) booleanProcessedSchema.hasJavaRecord(GenerationField field) booleanProcessedSchema.hasJOOQRecord(GenerationField field) booleanProcessedSchema.hasRecord(GenerationField field) booleanProcessedSchema.isEnum(GenerationField field) booleanProcessedSchema.isFederationService(GenerationField target) booleanProcessedSchema.isInterface(GenerationField field) booleanProcessedSchema.isMultiTableField(GenerationField field) booleanProcessedSchema.isMultiTableInterface(GenerationField field) booleanProcessedSchema.isNodeIdField(GenerationField field) booleanProcessedSchema.isScalar(GenerationField field) booleanProcessedSchema.isSingleTableInterface(GenerationField field) booleanProcessedSchema.nextTypeTableExists(GenerationField field, Set<String> seen) Simple method that tries to find a table reference the field's type.