Class IdentityColumnSpec
Object
org.apache.spark.sql.connector.catalog.IdentityColumnSpec
Identity column specification.
-
Constructor Summary
ConstructorsConstructorDescriptionIdentityColumnSpec(long start, long step, boolean allowExplicitInsert) Creates an identity column specification. -
Method Summary
-
Constructor Details
-
IdentityColumnSpec
public IdentityColumnSpec(long start, long step, boolean allowExplicitInsert) Creates an identity column specification.- Parameters:
start- the start value to generate the identity valuesstep- the step value to generate the identity valuesallowExplicitInsert- whether the identity column allows explicit insertion of values
-
-
Method Details
-
getStart
public long getStart()- Returns:
- the start value to generate the identity values
-
getStep
public long getStep()- Returns:
- the step value to generate the identity values
-
isAllowExplicitInsert
public boolean isAllowExplicitInsert()- Returns:
- whether the identity column allows explicit insertion of values
-
equals
-
hashCode
public int hashCode() -
toString
-