Tabnine Logo
TableOnConditionStep.and
Code IndexAdd Tabnine to your IDE (free)

How to use
and
method
in
org.jooq.TableOnConditionStep

Best Java code snippets using org.jooq.TableOnConditionStep.and (Showing top 12 results out of 315)

origin: io.zipkin.java/zipkin-storage-mysql

static TableOnConditionStep<?> maybeOnService(TableOnConditionStep<Record> table,
  ZipkinAnnotations aTable, String serviceName) {
 if (serviceName == null) return table;
 return table.and(aTable.ENDPOINT_SERVICE_NAME.eq(serviceName));
}
origin: io.zipkin.java/spanstore-jdbc

 static Table<?> join(Table<?> table, ZipkinAnnotations joinTable, String key, int type) {
  return table.join(joinTable)
    .on(ZIPKIN_SPANS.TRACE_ID.eq(joinTable.TRACE_ID))
    .and(ZIPKIN_SPANS.ID.eq(joinTable.SPAN_ID))
    .and(joinTable.A_TYPE.eq(type))
    .and(joinTable.A_KEY.eq(key));
 }
}
origin: io.zipkin.java/zipkin-storage-jdbc

static Table<?> join(Table<?> table, ZipkinAnnotations joinTable, String key, int type) {
 return table.join(joinTable)
   .on(ZIPKIN_SPANS.TRACE_ID.eq(joinTable.TRACE_ID))
   .and(ZIPKIN_SPANS.ID.eq(joinTable.SPAN_ID))
   .and(joinTable.A_TYPE.eq(type))
   .and(joinTable.A_KEY.eq(key));
}
origin: io.zipkin.java/storage-jdbc

static Table<?> join(Table<?> table, ZipkinAnnotations joinTable, String key, int type) {
 return table.join(joinTable)
   .on(ZIPKIN_SPANS.TRACE_ID.eq(joinTable.TRACE_ID))
   .and(ZIPKIN_SPANS.ID.eq(joinTable.SPAN_ID))
   .and(joinTable.A_TYPE.eq(type))
   .and(joinTable.A_KEY.eq(key));
}
origin: io.zipkin.java/spanstore-jdbc

  .on(ZIPKIN_SPANS.TRACE_ID.eq(ZIPKIN_ANNOTATIONS.TRACE_ID).and(
    ZIPKIN_SPANS.ID.eq(ZIPKIN_ANNOTATIONS.SPAN_ID)))
  .and(ZIPKIN_ANNOTATIONS.A_KEY.in(CLIENT_ADDR, SERVER_RECV, SERVER_ADDR)))
.where(lookback == null ?
  ZIPKIN_SPANS.START_TS.lessOrEqual(endTs) :
origin: io.zipkin.java/storage-jdbc

  .on(ZIPKIN_SPANS.TRACE_ID.eq(ZIPKIN_ANNOTATIONS.TRACE_ID).and(
    ZIPKIN_SPANS.ID.eq(ZIPKIN_ANNOTATIONS.SPAN_ID)))
  .and(ZIPKIN_ANNOTATIONS.A_KEY.in(CLIENT_ADDR, SERVER_RECV, SERVER_ADDR)))
.where(lookback == null ?
  ZIPKIN_SPANS.START_TS.lessOrEqual(endTs) :
origin: io.zipkin.java/zipkin-storage-jdbc

  .on(ZIPKIN_SPANS.TRACE_ID.eq(ZIPKIN_ANNOTATIONS.TRACE_ID).and(
    ZIPKIN_SPANS.ID.eq(ZIPKIN_ANNOTATIONS.SPAN_ID)))
  .and(ZIPKIN_ANNOTATIONS.A_KEY.in(CLIENT_ADDR, SERVER_RECV, SERVER_ADDR)))
.where(lookback == null ?
  ZIPKIN_SPANS.START_TS.lessOrEqual(endTs) :
origin: io.zipkin.java/zipkin-storage-mysql

table = maybeOnService(table.join(aTable)
  .on(schema.joinCondition(aTable))
  .and(aTable.A_KEY.eq(key)), aTable, request.serviceName);
table = maybeOnService(table.join(aTable)
  .on(schema.joinCondition(aTable))
  .and(aTable.A_TYPE.eq(STRING.value))
  .and(aTable.A_KEY.eq(kv.getKey()))
  .and(aTable.A_VALUE.eq(kv.getValue().getBytes(UTF_8))), aTable, request.serviceName);
origin: perfectsense/dari

table = table.join(join.table, forceLeftJoins || join.isLeftOuter() ? JoinType.LEFT_OUTER_JOIN : JoinType.JOIN)
    .on(join.idField.eq(recordIdField))
    .and(join.typeIdField.eq(recordTypeIdField))
    .and(join.symbolIdField.in(join.symbolIds));
origin: io.zipkin.java/zipkin-storage-mysql

  .and(ZIPKIN_ANNOTATIONS.A_KEY.in(CLIENT_SEND, CLIENT_ADDR, SERVER_RECV, SERVER_ADDR, ERROR)))
.where(lookback == null ?
  ZIPKIN_SPANS.START_TS.lessOrEqual(endTs) :
origin: org.jooq/jooq-meta

private Result<Record4<String, String, String, String>> fetchKeys(String constraintType) {
  return create()
    .select(
      KEY_COLUMN_USAGE.TABLE_SCHEMA,
      KEY_COLUMN_USAGE.CONSTRAINT_NAME,
      KEY_COLUMN_USAGE.TABLE_NAME,
      KEY_COLUMN_USAGE.COLUMN_NAME)
    .from(TABLE_CONSTRAINTS
      .join(KEY_COLUMN_USAGE)
      .on(TABLE_CONSTRAINTS.CONSTRAINT_SCHEMA.equal(KEY_COLUMN_USAGE.CONSTRAINT_SCHEMA))
      .and(TABLE_CONSTRAINTS.CONSTRAINT_NAME.equal(KEY_COLUMN_USAGE.CONSTRAINT_NAME)))
    .where(TABLE_CONSTRAINTS.CONSTRAINT_TYPE.equal(constraintType))
    .and(TABLE_CONSTRAINTS.TABLE_SCHEMA.in(getInputSchemata()))
    .orderBy(
      KEY_COLUMN_USAGE.TABLE_SCHEMA.asc(),
      KEY_COLUMN_USAGE.TABLE_NAME.asc(),
      KEY_COLUMN_USAGE.CONSTRAINT_NAME.asc(),
      KEY_COLUMN_USAGE.ORDINAL_POSITION.asc())
    .fetch();
}
origin: org.jooq/jooq-meta

.leftJoin(ad)
  .on(a.ATTRELID.eq(ad.ADRELID))
  .and(a.ATTNUM.eq(ad.ADNUM))
.join(c
  .join(nc)
org.jooqTableOnConditionStepand

Javadoc

Combine the currently assembled conditions with another one using the Operator#AND operator.

Popular methods of TableOnConditionStep

  • join

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Runner (org.openjdk.jmh.runner)
  • Best IntelliJ plugins
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