From 7ef6dc399ddd23d9594e5f8fc66de51070bd99cc Mon Sep 17 00:00:00 2001 From: Rishabh Maurya Date: Thu, 28 Nov 2024 10:07:20 -0800 Subject: [PATCH] Address PR comments Signed-off-by: Rishabh Maurya --- .../java/org/opensearch/arrow/spi/StreamTicket.java | 12 ++++++------ .../opensearch/arrow/spi/StreamTicketFactory.java | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/arrow-spi/src/main/java/org/opensearch/arrow/spi/StreamTicket.java b/libs/arrow-spi/src/main/java/org/opensearch/arrow/spi/StreamTicket.java index 6d823f5773b1e..e86e317273b49 100644 --- a/libs/arrow-spi/src/main/java/org/opensearch/arrow/spi/StreamTicket.java +++ b/libs/arrow-spi/src/main/java/org/opensearch/arrow/spi/StreamTicket.java @@ -18,18 +18,18 @@ @ExperimentalApi public interface StreamTicket { /** - * Returns the ticket ID associated with this stream ticket. + * Returns the ticketId associated with this stream ticket. * - * @return the ticket ID string + * @return the ticketId string */ - String getTicketID(); + String getTicketId(); /** - * Returns the node ID associated with this stream ticket. + * Returns the nodeId associated with this stream ticket. * - * @return the node ID string + * @return the nodeId string */ - String getNodeID(); + String getNodeId(); /** * Serializes this ticket into a Base64 encoded byte array. diff --git a/libs/arrow-spi/src/main/java/org/opensearch/arrow/spi/StreamTicketFactory.java b/libs/arrow-spi/src/main/java/org/opensearch/arrow/spi/StreamTicketFactory.java index d587136c711e6..6e042b7f16c8d 100644 --- a/libs/arrow-spi/src/main/java/org/opensearch/arrow/spi/StreamTicketFactory.java +++ b/libs/arrow-spi/src/main/java/org/opensearch/arrow/spi/StreamTicketFactory.java @@ -18,11 +18,11 @@ @ExperimentalApi public interface StreamTicketFactory { /** - * Generates a new StreamTicket + * Creates a new StreamTicket * * @return A new StreamTicket instance */ - StreamTicket generateTicket(); + StreamTicket newTicket(); /** * Deserializes a StreamTicket from its byte representation.