Class SessionIdentifier
- java.lang.Object
-
- org.apache.flink.cdc.connectors.maxcompute.common.SessionIdentifier
-
- All Implemented Interfaces:
Serializable
public class SessionIdentifier extends Object implements Serializable
A Session is uniquely identified throughTableIdandpartitionName. When the Session is successfully created, this class can also carry the sessionId. Note that sessionId does not participate in the comparison of hashcode and equals.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetPartitionName()StringgetProject()StringgetSchema()StringgetSessionId()StringgetTable()inthashCode()static SessionIdentifierof(String project, String schema, String table, String partitionName)static SessionIdentifierof(String project, String schema, String table, String partitionName, String sessionId)StringtoString()
-
-
-
Method Detail
-
of
public static SessionIdentifier of(String project, String schema, String table, String partitionName)
-
of
public static SessionIdentifier of(String project, String schema, String table, String partitionName, String sessionId)
-
getProject
public String getProject()
-
getSchema
public String getSchema()
-
getTable
public String getTable()
-
getPartitionName
public String getPartitionName()
-
getSessionId
public String getSessionId()
-
-