Module org.apache.arrow.flight.core
Package org.apache.arrow.flight.impl
Interface Flight.FlightDescriptorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Flight.FlightDescriptor
,Flight.FlightDescriptor.Builder
- Enclosing class:
- Flight
public static interface Flight.FlightDescriptorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString
getCmd()
Opaque value used to express a command.getPath
(int index) List of strings identifying a particular dataset.com.google.protobuf.ByteString
getPathBytes
(int index) List of strings identifying a particular dataset.int
List of strings identifying a particular dataset.List of strings identifying a particular dataset.getType()
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1;
int
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeValue
int getTypeValue().arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1;
- Returns:
- The enum numeric value on the wire for type.
-
getType
Flight.FlightDescriptor.DescriptorType getType().arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1;
- Returns:
- The type.
-
getCmd
com.google.protobuf.ByteString getCmd()Opaque value used to express a command. Should only be defined when type = CMD.
bytes cmd = 2;
- Returns:
- The cmd.
-
getPathList
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
- Returns:
- A list containing the path.
-
getPathCount
int getPathCount()List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
- Returns:
- The count of path.
-
getPath
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The path at the given index.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes(int index) List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the path at the given index.
-