Class ToTypeSubTypeValue
- java.lang.Object
-
- uk.gov.gchq.koryphe.function.KorypheFunction<Object,TypeSubTypeValue>
-
- uk.gov.gchq.gaffer.types.function.ToTypeSubTypeValue
-
- All Implemented Interfaces:
Function<Object,TypeSubTypeValue>
public class ToTypeSubTypeValue extends uk.gov.gchq.koryphe.function.KorypheFunction<Object,TypeSubTypeValue>
AToTypeSubTypeValue
is aKorypheFunction
that converts a value into aTypeSubTypeValue
, by setting the Type and SubType to null (or the provided strings) and the Value to the input value.
-
-
Constructor Summary
Constructors Constructor Description ToTypeSubTypeValue()
ToTypeSubTypeValue(String type, String subType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeSubTypeValue
apply(Object value)
String
getSubType()
String
getType()
void
setSubType(String subType)
void
setType(String type)
-