Package org.eclipse.edc.sql.translation
Class EntityStateFieldTranslator
java.lang.Object
org.eclipse.edc.sql.translation.PlainColumnFieldTranslator
org.eclipse.edc.sql.translation.EntityStateFieldTranslator
- All Implemented Interfaces:
FieldTranslator
Supports the string representation of a state, that will be converted into int by the
stateResolver.-
Field Summary
Fields inherited from interface org.eclipse.edc.sql.translation.FieldTranslator
PREPARED_STATEMENT_PLACEHOLDER -
Constructor Summary
ConstructorsConstructorDescriptionEntityStateFieldTranslator(String columnName, org.eclipse.edc.spi.entity.StateResolver stateResolver) -
Method Summary
Methods inherited from class org.eclipse.edc.sql.translation.PlainColumnFieldTranslator
getLeftOperand, toWhereClause
-
Constructor Details
-
EntityStateFieldTranslator
public EntityStateFieldTranslator(String columnName, org.eclipse.edc.spi.entity.StateResolver stateResolver)
-
-
Method Details
-
toParameters
-