Tabnine Logo
RenderContext.literal
Code IndexAdd Tabnine to your IDE (free)

How to use
literal
method
in
org.jooq.RenderContext

Best Java code snippets using org.jooq.RenderContext.literal (Showing top 20 results out of 315)

origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  String separator = "";
  for (String string : sql) {
    context.sql(separator);
    context.literal(string);
    separator = ".";
  }
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  String separator = "";
  for (String string : sql) {
    context.sql(separator);
    context.literal(string);
    separator = ".";
  }
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  context.literal(getName());
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  context.literal(getName());
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  context.literal(getName());
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  context.literal(getName());
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  context.literal(getName());
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  context.literal(getName());
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

/**
 * Render a list of names of the <code>NamedQueryParts</code> contained in
 * this list.
 */
static final void fieldNames(RenderContext context, Collection<? extends Field<?>> list) {
  String separator = "";
  for (Field<?> field : list) {
    context.sql(separator).literal(field.getName());
    separator = ", ";
  }
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

/**
 * Render a list of names of the <code>NamedQueryParts</code> contained in
 * this list.
 */
static final void tableNames(RenderContext context, Collection<? extends Table<?>> list) {
  String separator = "";
  for (Table<?> table : list) {
    context.sql(separator).literal(table.getName());
    separator = ", ";
  }
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  String separator = "";
  for (String name : qualifiedName) {
    if (!StringUtils.isEmpty(name)) {
      context.sql(separator).literal(name);
      separator = ".";
    }
  }
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

context.literal("RDB$DATABASE");
break;
context.literal("INFORMATION_SCHEMA")
    .sql(".")
    .literal("SYSTEM_USERS");
break;
context.literal("db_root");
break;
context.literal("SYSIBM")
    .sql(".")
    .literal("SYSDUMMY1");
break;
origin: com.ning.billing/killbill-osgi-bundles-analytics

private void toSQLDerivedColumnList(RenderContext context) {
  String separator = "";
  context.sql("(");
  for (int i = 0; i < fieldAliases.length; i++) {
    context.sql(separator);
    context.literal(fieldAliases[i]);
    separator = ", ";
  }
  context.sql(")");
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

  /**
   * Get a list of names of the <code>NamedQueryParts</code> contained in this
   * list.
   */
  final void toSQLFieldNames(RenderContext context) {
    String separator = "";

    for (Table<?> table : this) {
      for (Field<?> field : table.fieldsRow().fields()) {
        context.sql(separator);
        context.literal(field.getName());

        separator = ", ";
      }
    }
  }
}
origin: org.jooq/jooq

private final void toSQLQualifiedName(RenderContext ctx) {
  if (ctx.qualify()) {
    Schema mapped = Tools.getMappedSchema(ctx.configuration(), getSchema());
    if (mapped != null && !"".equals(mapped.getName()))
      ctx.visit(mapped)
        .sql('.');
  }
  ctx.literal(getName());
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  context.data(DATA_OMIT_CLAUSE_EVENT_EMISSION, true);
  if (context.qualify()) {
    context.visit(table);
    context.sql(".");
  }
  context.literal(getName());
  context.data(DATA_OMIT_CLAUSE_EVENT_EMISSION, null);
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

  @Override
  public void toSQL(RenderContext context) {
    context.sql("(").keyword("select").sql(" * ")
        .keyword("from").sql(" ").keyword("unnest").sql("(").visit(array).sql(") ")
        .keyword("as").sql(" ").literal(alias)
        .sql("(").literal("COLUMN_VALUE").sql("))");
  }
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

private final void toSQLQualifiedName(RenderContext context) {
  Schema mappedSchema = Utils.getMappedSchema(context.configuration(), getSchema());
  if (context.qualify()) {
    if (mappedSchema != null) {
      context.visit(mappedSchema);
      context.sql(".");
    }
    /* [pro] xx
    xx xxxxxxx xx xxx xxxxxxx xxxxxxxx xxxxxx xxxx xx xx xxxxx xxxxxxxxx
    xxxx xx xxxxxxxxxxxx xx xxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xx xxxxxxxxxx x
      xxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxx
    x
    xx [/pro] */
    if (getPackage() != null) {
      context.visit(getPackage());
      context.sql(".");
    }
  }
  context.literal(getName());
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

@Override
public final void toSQL(RenderContext context) {
  if (alias != null) {
    alias.toSQL(context);
  }
  else {
    if (context.qualify()) {
      Schema mappedSchema = Utils.getMappedSchema(context.configuration(), getSchema());
      if (mappedSchema != null) {
        context.visit(mappedSchema);
        context.sql(".");
      }
    }
    context.literal(Utils.getMappedTable(context.configuration(), this).getName());
    if (parameters != null && context.declareTables()) {
      context.sql("(")
          .visit(new QueryPartList<Field<?>>(parameters))
          .sql(")");
    }
  }
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

context.literal(alias);
context.literal(alias);
org.jooqRenderContextliteral

Javadoc

Append some (quoted) literal to the context's contained StringBuilder.

Popular methods of RenderContext

  • sql
    Recurse rendering.
  • visit
  • render
    Render a query part in a new context derived from this one. The rendered SQL will not be appended to
  • declareTables
  • paramType
    Set the new context value for #paramType().
  • castMode
    Set the new cast mode for #castMode().
  • configuration
  • data
  • declareFields
  • declareWindows
  • end
  • formatIndentEnd
    Stop indenting subsequent SQL by a number of characters, if Settings#isRenderFormatted() is set to t
  • end,
  • formatIndentEnd,
  • formatIndentLockEnd,
  • formatIndentLockStart,
  • formatIndentStart,
  • formatNewLine,
  • formatSeparator,
  • keyword,
  • nextAlias

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JPanel (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top plugins for WebStorm
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