com.heliorm.impl.ByteArrayFieldPart Maven / Gradle / Ivy
The newest version!
package com.heliorm.impl;
import com.heliorm.OrmException;
import com.heliorm.Table;
import com.heliorm.def.Continuation;
import com.heliorm.def.ByteArrayField;
import static com.heliorm.Field.FieldType.BYTE_ARRAY;
/**
* @author gideon
*/
public final class ByteArrayFieldPart extends FieldPart implements
ByteArrayField {
public ByteArrayFieldPart(Table table, String javaName) {
super(table, BYTE_ARRAY, byte[].class, javaName);
}
@Override
public Continuation isNull() throws OrmException {
return new IsExpressionPart<>(getThis(), IsExpressionPart.Operator.IS_NULL);
}
@Override
public Continuation isNotNull() throws OrmException {
return new IsExpressionPart<>(getThis(), IsExpressionPart.Operator.IS_NOT_NULL);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy