congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • runOnUiThread (Activity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Socket (java.net)
    Provides a client-side TCP socket.
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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