/** * Method for constructing an instance that has specified * value for attribute for given key. * * @since 2.3 */ public T withAttribute(Object key, Object value) { return with(getAttributes().withSharedAttribute(key, value)); }
.withSharedAttribute("project", project) .withSharedAttribute("useHeader", useHeader) .withSharedAttribute("collection", query.collection) .withSharedAttribute("apiKey", masterKey)) .with(builder.build()).readValue(url); } else if (query.type == AVRO) {
.withSharedAttribute("project", project) .withSharedAttribute("useHeader", useHeader) .withSharedAttribute("collection", collection) .withSharedAttribute("apiKey", apiKey)) .with(builder.build()).readValue(buff);
Event event = jsonMapper.readerFor(Event.class) .with(ContextAttributes.getEmpty() .withSharedAttribute("project", key.project)) .readValue(stringify.toString()); if (event != null) {
.withSharedAttribute("project", "project") .withSharedAttribute("collection", "collection") .withSharedAttribute("apiKey", "apiKey") ).readValue(csv);
/** * Method for constructing an instance that has specified * value for attribute for given key. * * @since 2.3 */ public T withAttribute(Object key, Object value) { return with(getAttributes().withSharedAttribute(key, value)); }
/** * Method for constructing an instance that has specified * value for attribute for given key. * * @since 2.3 */ public T withAttribute(Object key, Object value) { return with(getAttributes().withSharedAttribute(key, value)); }
/** * Method for constructing an instance that has specified * value for attribute for given key. * * @since 2.3 */ public T withAttribute(Object key, Object value) { return with(getAttributes().withSharedAttribute(key, value)); }
/** * Method for constructing an instance that has specified * value for attribute for given key. * * @since 2.3 */ public T withAttribute(Object key, Object value) { return with(getAttributes().withSharedAttribute(key, value)); }