Examples of schemaId()


Examples of com.linkedin.databus.core.DbusEventInternalReadable.schemaId()

      _buffer.appendEvent(new DbusEventKey(ev.key()),
                          ev.physicalPartitionId(),
                          ev.logicalPartitionId(),
                          ev.timestampInNanos(),
                          ev.srcId(),
                          ev.schemaId(),
                          bytes,
                          false,
                          _stats);
    }
  }
View Full Code Here

Examples of com.linkedin.databus.core.DbusEventInternalReadable.schemaId()

          curState.switchToStartStreamEventWindow(startScn);
          success = doStartStreamEventWindow(curState);

          if (success && (eventSrcId.longValue() >= 0))
          {
            success = doCheckStartSource(curState, eventSrcId,new SchemaId(nextEvent.schemaId()));
          }
        }
        else
        {
          if (null != curState.getCurrentSource() &&
View Full Code Here

Examples of com.linkedin.databus.core.DbusEventInternalReadable.schemaId()

          {
            //Check if schemas of the source exist.
            //Also check if the exact schema id present in event exists in the client. This is worthwhile if there's a
            //guarantee that the entire window is written with the same schemaId, which is the case if the relay does not use a new schema
            //mid-window
            success = doCheckStartSource(curState, eventSrcId,new SchemaId(nextEvent.schemaId()));
          }

        }

        if (success)
View Full Code Here

Examples of org.codehaus.enunciate.json.JsonSchema.schemaId()

   */
  public static String schemaIdForPackage(final PackageDeclaration schemaPackage) {
    assert schemaPackage != null : "schemaPackage:null";

    final JsonSchema jsonSchema = schemaPackage.getAnnotation(JsonSchema.class);
    if (jsonSchema != null && jsonSchema.schemaId() != null) {
      return jsonSchema.schemaId();
    }
    return schemaPackage.getQualifiedName();
  }

View Full Code Here

Examples of org.codehaus.enunciate.json.JsonSchema.schemaId()

  public static String schemaIdForPackage(final PackageDeclaration schemaPackage) {
    assert schemaPackage != null : "schemaPackage:null";

    final JsonSchema jsonSchema = schemaPackage.getAnnotation(JsonSchema.class);
    if (jsonSchema != null && jsonSchema.schemaId() != null) {
      return jsonSchema.schemaId();
    }
    return schemaPackage.getQualifiedName();
  }

  private final String schemaId;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.