Class FunctionResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.FunctionResponse
- All Implemented Interfaces:
RESTMessage,RESTResponse
Response for function operations.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for FunctionResponse.FunctionResponse(FunctionDTO function) Constructor for FunctionResponse. -
Method Summary
-
Constructor Details
-
FunctionResponse
public FunctionResponse()Constructor for FunctionResponse. -
FunctionResponse
Constructor for FunctionResponse.- Parameters:
function- the function DTO object.
-
-
Method Details
-
validate
Validates the response.- Specified by:
validatein interfaceRESTMessage- Overrides:
validatein classBaseResponse- Throws:
IllegalArgumentException- if the response is invalid.
-