@Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> values = new HashMap<>(); values.put(NAME_FIELD, name); return new PrimaryKey(values); }
@Override @JsonIgnore public PrimaryKey getPrimaryKey() { return new PrimaryKey(Collections.<Schema.Field, Object>singletonMap(NAME_FIELD, name)); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field(USER_ID, Schema.Type.LONG), userId); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field(ID, Schema.Type.LONG), this.id); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field("id", Schema.Type.LONG), this.id); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field("id", Schema.Type.LONG), this.id); return new PrimaryKey(fieldToObjectMap); }
@Override @JsonIgnore public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldObjectMap = new HashMap<>(); fieldObjectMap.put(new Schema.Field(ID, Schema.Type.LONG), this.id); return new PrimaryKey(fieldObjectMap); }
@JsonIgnore public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field(ID, Schema.Type.LONG), this.id); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field("id", Schema.Type.LONG), this.id); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field(TOPOLOGY_ID, Schema.Type.LONG), this.topologyId); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field(WIDGET_ID, Schema.Type.LONG), this.widgetId); fieldToObjectMap.put(new Schema.Field(DATASOURCE_ID, Schema.Type.LONG), this.datasourceId); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field(ID, Schema.Type.LONG), this.id); fieldToObjectMap.put(new Schema.Field(VERSIONID, Schema.Type.LONG), this.versionId); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field(ID, Schema.Type.LONG), this.id); fieldToObjectMap.put(new Schema.Field(VERSION_ID, Schema.Type.LONG), this.versionId); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field(PARENT_ID, Schema.Type.LONG), this.parentId); fieldToObjectMap.put(new Schema.Field(CHILD_ID, Schema.Type.LONG), this.childId); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field(ID, Schema.Type.LONG), this.id); fieldToObjectMap.put(new Schema.Field(Dashboard.DASHBOARD_ID, Schema.Type.LONG), this.dashboardId); return new PrimaryKey(fieldToObjectMap); }
@Override @JsonIgnore public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> values = new HashMap<>(); values.put(new Schema.Field(SchemaFieldInfo.ID, Schema.Type.LONG), id); return new PrimaryKey(values); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<Schema.Field, Object>(); fieldToObjectMap.put(new Schema.Field("id", Schema.Type.LONG), this.id); return new PrimaryKey(fieldToObjectMap); }
@JsonIgnore @Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(Schema.Field.of(FIELD_NAMESPACE_ID, Schema.Type.LONG), this.namespaceId); fieldToObjectMap.put(Schema.Field.of(FIELD_SERVICE_NAME, Schema.Type.STRING), this.serviceName); fieldToObjectMap.put(Schema.Field.of(FIELD_CLUSTER_ID, Schema.Type.LONG), this.clusterId); return new PrimaryKey(fieldToObjectMap); }
@Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(Schema.Field.of(FIELD_PROCESSOR_ID, Schema.Type.LONG), this.processorId); fieldToObjectMap.put(Schema.Field.of(FIELD_VERSION_ID, Schema.Type.LONG), this.versionId); fieldToObjectMap.put(new Schema.Field(FIELD_STREAM_ID, Schema.Type.LONG), this.streamId); return new PrimaryKey(fieldToObjectMap); }
@Override public PrimaryKey getPrimaryKey() { Map<Schema.Field, Object> fieldToObjectMap = new HashMap<>(); fieldToObjectMap.put(new Schema.Field(FIELD_TAG_ID, Schema.Type.LONG), this.tagId); fieldToObjectMap.put(new Schema.Field(FIELD_STORABLE_NAMESPACE, Schema.Type.STRING), this.storableNamespace); fieldToObjectMap.put(new Schema.Field(FIELD_STORABLE_ID, Schema.Type.LONG), this.storableId); return new PrimaryKey(fieldToObjectMap); }