Class DBMethodGenerator<T extends ObjectField>

java.lang.Object
no.sikt.graphitron.generators.abstractions.AbstractSchemaMethodGenerator<T,ObjectDefinition>
no.sikt.graphitron.generators.abstractions.DBMethodGenerator<T>
Type Parameters:
T - Field type that this generator operates on.
All Implemented Interfaces:
MethodGenerator
Direct Known Subclasses:
BatchUpdateDBMethodGenerator, FetchDBMethodGenerator

public abstract class DBMethodGenerator<T extends ObjectField> extends AbstractSchemaMethodGenerator<T,ObjectDefinition>
Generic select query generation functionality is contained within this class.
  • Constructor Details

  • Method Details

    • getDefaultSpecBuilder

      public no.sikt.graphitron.javapoet.MethodSpec.Builder getDefaultSpecBuilder(String methodName, no.sikt.graphitron.javapoet.TypeName returnType)
      Overrides:
      getDefaultSpecBuilder in class AbstractSchemaMethodGenerator<T extends ObjectField,ObjectDefinition>
      Parameters:
      methodName - The name of the method.
      returnType - The return type of the method, as a javapoet TypeName.
      Returns:
      The default builder for this class' methods, with any common settings applied.