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.classclassVirtual 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 TypeMethodDescriptionInputComponents.declaredConditionsByField()Returns the value of thedeclaredConditionsByFieldrecord component.Constructor parameters in no.sikt.graphitron.definitions.helpers with type arguments of type GenerationFieldModifierConstructorDescriptionInputComponents(List<InputCondition> independentConditions, List<InputComponents.ConditionTuple> conditionTuples, List<InputSetValue> independentSetValues, InputComponents.SetValueTuple setValueTuple, Map<GenerationField, List<InputCondition>> declaredConditionsByField) Creates an instance of aInputComponentsrecord 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.mapping
Methods in no.sikt.graphitron.definitions.mapping that return GenerationFieldConstructors in no.sikt.graphitron.definitions.mapping with parameters of type GenerationFieldModifierConstructorDescriptionAliasWrapper(Alias alias, GenerationField referenceObjectField, boolean isTargetTable, ProcessedSchema processedSchema) AliasWrapper(Alias alias, GenerationField referenceObjectField, ProcessedSchema processedSchema) -
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 ServiceDependencyAbstractSchemaMethodGenerator.createServiceDependency(GenerationField target) protected abstract booleanAbstractMapperClassGenerator.filterProperties(GenerationField field) no.sikt.graphitron.javapoet.MethodSpec.BuilderAbstractMapperMethodGenerator.getMapperSpecBuilder(GenerationField target) protected no.sikt.graphitron.javapoet.CodeBlockDataFetcherMethodGenerator.transformDTOBlock(GenerationField field, no.sikt.graphitron.javapoet.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 no.sikt.graphitron.javapoet.TypeNameKeyWrapper.getKeyRowTypeName(GenerationField field, ProcessedSchema schema) Get the Row TypeName for the key used for a resolver fieldstatic no.sikt.graphitron.javapoet.TypeNameTypeNameFormat.inferFieldTypeName(GenerationField field, boolean checkRecordReferences, ProcessedSchema processedSchema) static no.sikt.graphitron.javapoet.TypeNameTypeNameFormat.iterableWrapType(GenerationField field, boolean checkRecordReferences, ProcessedSchema processedSchema) 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<?,?>> NodeIdReferenceHelpers.getForeignKeyForNodeIdReference(GenerationField target, ProcessedSchema schema) static no.sikt.graphitron.javapoet.CodeBlockNodeIdReferenceHelpers.getSourceFieldsForForeignKey(GenerationField target, ProcessedSchema schema, no.sikt.graphitron.javapoet.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.datafetchers.operations
Methods in no.sikt.graphitron.generators.datafetchers.operations with parameters of type GenerationFieldModifier and TypeMethodDescriptionprotected booleanOperationMethodGenerator.generationCondition(GenerationField target) -
Uses of GenerationField in no.sikt.graphitron.generators.db
Methods in no.sikt.graphitron.generators.db with parameters of type GenerationFieldModifier and TypeMethodDescriptionprotected 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.getSelectCode(GenerationField field, FetchContext context) protected org.apache.commons.lang3.tuple.Pair<no.sikt.graphitron.javapoet.CodeBlock,String> 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 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) -
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) no.sikt.graphitron.javapoet.TypeSpecJavaRecordMapperClassGenerator.generate(GenerationField target) no.sikt.graphitron.javapoet.MethodSpecJavaRecordMapperMethodGenerator.generate(GenerationField target) no.sikt.graphitron.javapoet.TypeSpecRecordMapperClassGenerator.generate(GenerationField target) no.sikt.graphitron.javapoet.MethodSpecRecordMapperMethodGenerator.generate(GenerationField target) no.sikt.graphitron.javapoet.MethodSpecRecordValidatorMethodGenerator.generate(GenerationField target) no.sikt.graphitron.javapoet.MethodSpecTransformerListMethodGenerator.generate(GenerationField target) no.sikt.graphitron.javapoet.MethodSpecTransformerMethodGenerator.generate(GenerationField target) protected no.sikt.graphitron.javapoet.CodeBlockTransformerListMethodGenerator.getMethodContent(GenerationField target) protected no.sikt.graphitron.javapoet.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.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.getNodeTypeForNodeIdField(GenerationField field) ProcessedSchema.getNodeTypeForNodeIdFieldOrThrow(GenerationField field) Finds node type for a node ID field.ProcessedSchema.getObjectOrConnectionNode(GenerationField field) ProcessedSchema.getPreviousTableObjectForField(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.invokesSubquery(GenerationField field, JOOQMapping currentTable) Determines whether the field requires a correlated subquery in the generated database query.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.isNodeIdForNodeTypeWithSameTable(GenerationField field) Is this a node ID field in a non-node type that shares the same table with another node type?booleanProcessedSchema.isNodeIdReferenceField(GenerationField field) booleanProcessedSchema.isOrderedMultiKeyQuery(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.