pyarrow.flight.Location#
- class pyarrow.flight.Location(uri)#
基类:
_WeakrefableFlight 服务的位置。
- __init__(*args, **kwargs)#
方法
__init__(*args, **kwargs)equals(self, Location other)for_grpc_tcp(host, port)为基于 TCP 的 gRPC 服务创建一个 Location。
for_grpc_tls(host, port)为基于 TLS 的 gRPC 服务创建一个 Location。
for_grpc_unix(path)为基于域套接字的 gRPC 服务创建一个 Location。
属性
- equals(self, Location other)#
- static for_grpc_tcp(host, port)#
为基于 TCP 的 gRPC 服务创建一个 Location。
- static for_grpc_tls(host, port)#
为基于 TLS 的 gRPC 服务创建一个 Location。
- static for_grpc_unix(path)#
为基于域套接字的 gRPC 服务创建一个 Location。
- uri#