diff --git a/ingester-protocol/src/main/java/io/greptime/models/SemanticType.java b/ingester-protocol/src/main/java/io/greptime/models/SemanticType.java index 0829dc6..9d25469 100644 --- a/ingester-protocol/src/main/java/io/greptime/models/SemanticType.java +++ b/ingester-protocol/src/main/java/io/greptime/models/SemanticType.java @@ -40,20 +40,4 @@ public Common.SemanticType toProtoValue() { return null; } } - - /** - * Converts from the corresponding proto value. - */ - public static SemanticType fromProtoValue(Common.SemanticType v) { - switch (v) { - case TAG: - return Tag; - case FIELD: - return Field; - case TIMESTAMP: - return Timestamp; - default: - return null; - } - } }