Package org.apache.pinot.common.proto
Interface Server.ServerRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Server.ServerRequest,Server.ServerRequest.Builder
- Enclosing class:
- Server
public static interface Server.ServerRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)map<string, string> metadata = 1;Map<String,String>getMetadata()Deprecated.intgetMetadataCount()map<string, string> metadata = 1;Map<String,String>getMetadataMap()map<string, string> metadata = 1;StringgetMetadataOrDefault(String key, String defaultValue)map<string, string> metadata = 1;StringgetMetadataOrThrow(String key)map<string, string> metadata = 1;com.google.protobuf.ByteStringgetPayload()bytes payload = 4;StringgetSegments(int index)repeated string segments = 3;com.google.protobuf.ByteStringgetSegmentsBytes(int index)repeated string segments = 3;intgetSegmentsCount()repeated string segments = 3;List<String>getSegmentsList()repeated string segments = 3;StringgetSql()string sql = 2;com.google.protobuf.ByteStringgetSqlBytes()string sql = 2;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMetadataCount
int getMetadataCount()
map<string, string> metadata = 1;
-
containsMetadata
boolean containsMetadata(String key)
map<string, string> metadata = 1;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.
-
getMetadataOrDefault
String getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 1;
-
getSql
String getSql()
string sql = 2;- Returns:
- The sql.
-
getSqlBytes
com.google.protobuf.ByteString getSqlBytes()
string sql = 2;- Returns:
- The bytes for sql.
-
getSegmentsList
List<String> getSegmentsList()
repeated string segments = 3;- Returns:
- A list containing the segments.
-
getSegmentsCount
int getSegmentsCount()
repeated string segments = 3;- Returns:
- The count of segments.
-
getSegments
String getSegments(int index)
repeated string segments = 3;- Parameters:
index- The index of the element to return.- Returns:
- The segments at the given index.
-
getSegmentsBytes
com.google.protobuf.ByteString getSegmentsBytes(int index)
repeated string segments = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the segments at the given index.
-
getPayload
com.google.protobuf.ByteString getPayload()
bytes payload = 4;- Returns:
- The payload.
-
-