Class StructFieldOperation
- java.lang.Object
-
- com.yahoo.searchdefinition.fieldoperation.StructFieldOperation
-
- All Implemented Interfaces:
FieldOperation
,FieldOperationContainer
,java.lang.Comparable<FieldOperation>
public class StructFieldOperation extends java.lang.Object implements FieldOperation, FieldOperationContainer
- Author:
- Einar M R Rosenvinge
-
-
Constructor Summary
Constructors Constructor Description StructFieldOperation(java.lang.String structFieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOperation(FieldOperation op)
Adds an operationvoid
apply(SDField field)
Apply this operation on the given fieldvoid
applyOperations(SDField field)
Apply all operations.java.lang.String
getName()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.yahoo.searchdefinition.fieldoperation.FieldOperation
compareTo
-
-
-
-
Method Detail
-
apply
public void apply(SDField field)
Description copied from interface:FieldOperation
Apply this operation on the given field- Specified by:
apply
in interfaceFieldOperation
-
addOperation
public void addOperation(FieldOperation op)
Description copied from interface:FieldOperationContainer
Adds an operation- Specified by:
addOperation
in interfaceFieldOperationContainer
-
applyOperations
public void applyOperations(SDField field)
Description copied from interface:FieldOperationContainer
Apply all operations. Operations must be sorted in their natural order before applying each operation.- Specified by:
applyOperations
in interfaceFieldOperationContainer
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceFieldOperationContainer
-
-