MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / setCustomField

Method setCustomField

src/tree/TreeRule.java:665–670  ·  view source on GitHub ↗

@param custom_field The custom field name to set if matching

(String custom_field)

Source from the content-addressed store, hash-verified

663
664 /** @param custom_field The custom field name to set if matching */
665 public void setCustomField(String custom_field) {
666 if (!this.custom_field.equals(custom_field)) {
667 changed.put("custom_field", true);
668 this.custom_field = custom_field;
669 }
670 }
671
672 /**
673 * @param regex Stores AND compiles the regex string for use in processing

Calls 2

putMethod · 0.80
equalsMethod · 0.45