Tabnine Logo
Column.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
com.speedment.runtime.config.Column

Best Java code snippets using com.speedment.runtime.config.Column.getName (Showing top 5 results out of 315)

origin: speedment/speedment

/**
 * Debug method used to track type mappers of a project. May be of future use if one perhaps would venture to
 * investigate why we get several copies of the dbms from the database
 */
private void printTypeMappers(String heading, Project p) {
  System.out.println(heading);
  p.dbmses().map(d -> (Dbms) d).forEach(dbms -> {
    dbms.schemas().map(s -> (Schema) s).forEach(schema -> {
      schema.tables().map(t -> (Table) t).forEach(table -> {
        table.columns().map(c -> (Column) c).filter(c -> c.getTypeMapper().isPresent()).forEach(column -> {
          String mapperName = column.getTypeMapper().get();
          if (mapperName.endsWith("PrimitiveTypeMapper")) {
            mapperName = "Primitive";
          }
          System.out.println(" - " + dbms.getName() + ":" + schema.getName() + "/" +
            table.getName() + "." + column.getName() + " mapped by " + mapperName);
        });
      });
    });
  });
}
origin: speedment/speedment

/**
 * Returns the full name used in the database for the specified
 * {@link Column}. This is typically constructed by combining the table and
 * the column name with a separator, but that might be different in
 * different implementations.
 *
 * @param column the column to retrieve the name of
 * @return the full name
 */
default String fullNameOf(Column column) {
  final Table table = column.getParentOrThrow();
  final Schema schema = table.getParentOrThrow();
  return fullNameOf(schema.getName(), table.getName(), column.getName());
}
origin: speedment/speedment

ImmutableColumn(ImmutableTable parent, Map<String, Object> data) {
  super(parent, data);
  
  final Column prototype = new ColumnImpl(parent, data);
  
  this.enabled                = prototype.isEnabled();
  this.id                     = prototype.getId();
  this.name                   = prototype.getName();
  this.alias                  = prototype.getAlias();
  this.nullable               = prototype.isNullable();
  this.nullableImplementation = prototype.getNullableImplementation();
  this.autoincrement          = prototype.isAutoIncrement();
  this.typeMapper             = prototype.getTypeMapper();
  this.databaseType           = prototype.getDatabaseType();
  this.databaseTypeObject     = prototype.findDatabaseType();
  this.enumConstants          = prototype.getEnumConstants();
  this.decimalDigits          = prototype.getDecimalDigits();
  this.columnSize             = prototype.getColumnSize();
  this.ordinalPosition        = prototype.getOrdinalPosition();
}
origin: speedment/speedment

final String schemaName = ancestor(col, Schema.class).get().getName();
final String tableName  = col.getParentOrThrow().getName();
final String columnName = col.getName();
origin: com.speedment.runtime/runtime-core

/**
 * Returns the full name used in the database for the specified
 * {@link Column}. This is typically constructed by combining the table and
 * the column name with a separator, but that might be different in
 * different implementations.
 *
 * @param column the column to retrieve the name of
 * @return the full name
 */
default String fullNameOf(Column column) {
  final Table table = column.getParentOrThrow();
  final Schema schema = table.getParentOrThrow();
  return fullNameOf(schema.getName(), table.getName(), column.getName());
}
com.speedment.runtime.configColumngetName

Popular methods of Column

  • findDatabaseType
  • getId
  • getDatabaseType
  • getParentOrThrow
  • getTypeMapper
  • isNullable
  • mutator
  • getJavaName
  • getEnumConstants
  • getNullableImplementation
  • isAutoIncrement
  • isEnabled
  • isAutoIncrement,
  • isEnabled,
  • getAlias,
  • getAsBoolean,
  • getAsString,
  • getColumnSize,
  • getData,
  • getDecimalDigits,
  • getOrdinalPosition

Popular in Java

  • Making http requests using okhttp
  • putExtra (Intent)
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
  • Kernel (java.awt.image)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Path (java.nio.file)
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now