@JsonValue public String getValue() { return value; }
@JsonValue public String getValue() { return value; }
@JsonValue public List<String> getSegments() { return segments; }
@JsonValue @Override public String toString() { return catalogName + '.' + schemaName + '.' + objectName; }
@JsonValue public int getId() { return id; }
/** * Gets the name of this type which must be case insensitive globally unique. * The name of a user defined type must be a legal identifier in Presto. */ @JsonValue TypeSignature getTypeSignature();
@Override @JsonValue public String toString() { return queryId + "." + id; }
@JsonValue public String getId() { return id; }
@JsonValue public String toString() { return grouped ? "Group" + groupId : "TaskWide"; }
@Override @JsonValue public String toString() { return fullId; }
@JsonValue @Override public String toString() { return catalogName; }
@Override @JsonValue public String toString() { return id; }
@Override @JsonValue public String toString() { return uuid.toString(); } }
@JsonValue @Override public String toString() { return Instant.ofEpochMilli(millisUtc).atZone(ZoneId.of(timeZoneKey.getId())).format(formatter); } }
@JsonValue @Override public String toString() { return formatMillis(milliSeconds); }
@JsonValue @Override public String toString() { return hiveTypeName.toString(); }
@JsonValue public String jsonName() { return oldName.orElse(name()); }
@JsonValue @Override public String toString() { if (isLegacyTimestamp()) { return Instant.ofEpochMilli(millis).atZone(ZoneId.of(sessionTimeZoneKey.get().getId())).format(formatter); } else { return Instant.ofEpochMilli(millis).atZone(ZoneOffset.UTC).format(formatter); } }
@JsonValue @Override public String toString() { if (isLegacyTimestamp()) { return Instant.ofEpochMilli(millis).atZone(ZoneId.of(sessionTimeZoneKey.get().getId())).format(JSON_FORMATTER); } else { return Instant.ofEpochMilli(millis).atZone(ZoneId.of(UTC_KEY.getId())).format(JSON_FORMATTER); } }
@JsonValue public byte[] toBytes() throws IOException { ByteArrayDataOutput out = ByteStreams.newDataOutput(); range.write(out); return out.toByteArray(); }