Class EncryptFunctionAssignmentToken
java.lang.Object
org.apache.shardingsphere.infra.rewrite.sql.token.pojo.SQLToken
org.apache.shardingsphere.encrypt.rewrite.token.pojo.EncryptAssignmentToken
org.apache.shardingsphere.encrypt.rewrite.token.pojo.EncryptFunctionAssignmentToken
- All Implemented Interfaces:
Comparable<SQLToken>,Substitutable
Function assignment token for encrypt.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssignment(String columnName, Object value) Add assignment.Collection<org.apache.shardingsphere.encrypt.rewrite.token.pojo.EncryptFunctionAssignmentToken.FunctionAssignment>Get assignments.toString()Methods inherited from class org.apache.shardingsphere.infra.rewrite.sql.token.pojo.SQLToken
compareTo, getStartIndexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.infra.rewrite.sql.token.pojo.Substitutable
getStartIndex, getStopIndex
-
Constructor Details
-
EncryptFunctionAssignmentToken
public EncryptFunctionAssignmentToken(int startIndex, int stopIndex)
-
-
Method Details
-
addAssignment
Add assignment.- Parameters:
columnName- column namevalue- assignment value
-
getAssignment
public Collection<org.apache.shardingsphere.encrypt.rewrite.token.pojo.EncryptFunctionAssignmentToken.FunctionAssignment> getAssignment()Get assignments.- Returns:
- FunctionAssignment collection
-
toString
-