@ThriftStruct public final class PrestoThriftHostAddress extends Object
| Constructor and Description |
|---|
PrestoThriftHostAddress(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getHost() |
int |
getPort() |
int |
hashCode() |
HostAddress |
toHostAddress() |
String |
toString() |
@ThriftConstructor public PrestoThriftHostAddress(String host, int port)
@ThriftField(value=1) public String getHost()
@ThriftField(value=2) public int getPort()
public HostAddress toHostAddress()
Copyright © 2012–2024. All rights reserved.