1 21 22 package org.apache.derby.iapi.types; 23 24 import org.apache.derby.iapi.error.StandardException; 25 26 public interface StringDataValue extends ConcatableDataValue 27 { 28 public static final int BOTH = 0; 30 public static final int TRAILING = 1; 31 public static final int LEADING = 2; 32 33 45 public StringDataValue concatenate( 46 StringDataValue leftOperand, 47 StringDataValue rightOperand, 48 StringDataValue result) 49 throws StandardException; 50 51 60 public BooleanDataValue like(DataValueDescriptor pattern) 61 throws StandardException; 62 63 73 public BooleanDataValue like(DataValueDescriptor pattern, 74 DataValueDescriptor escape) 75 throws StandardException; 76 77 88 public StringDataValue trim( 89 int trimType, 90 StringDataValue result) 91 throws StandardException; 92 93 102 public StringDataValue upper(StringDataValue result) 103 throws StandardException; 104 105 114 public StringDataValue lower(StringDataValue result) 115 throws StandardException; 116 117 130 public NumberDataValue locate( StringDataValue searchFrom, 131 NumberDataValue start, 132 NumberDataValue result) 133 throws StandardException; 134 135 136 149 public char[] getCharArray() throws StandardException; 150 151 } 152 | Popular Tags |