/** * @author zhouhao */ @Data @Builder @NoArgsConstructor @AllArgsConstructor public class SqlExecuteRequest implements Serializable{ private static final long serialVersionUID = 8640714319329779262L; private List<SqlInfo> sql; }
/** * Created by csk746(csk746@naver.com) on 2017. 10. 15.. */ @Getter @ToString @AllArgsConstructor @Builder public class VisitorGroup { private String time; private long value; public static VisitorGroup of(MapPack mapPack){ return VisitorGroup.builder().time(mapPack.getText("time")).value(mapPack.getLong("value")).build(); } }
@AllArgsConstructor @Builder @Getter public static class GenericEventData<T> extends BaseEventInfo { private final String name; private final String[] subTypes; private final T data; } }
/** * @author Zhao Junjian */ @Getter @Builder @ToString(callSuper = true) @EqualsAndHashCode @JsonInclude(JsonInclude.Include.NON_NULL) @JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true) public class SwaggerApiInfo { private String title; private String version; private String serviceUrl; private List<ResponseMessage> statusList; }
/** * A container for the differences between desired and existing files. */ @Builder @ToString protected static class DiffPathSet { /** Desired files that don't exist on target */ @Singular(value = "copyFile") Collection<FileStatus> filesToCopy; /** Files in target that are not desired */ @Singular(value = "deleteFile") Collection<Path> pathsToDelete; }
@Builder class ParamStruct { Param param; PathParam pathParam; BodyParam bodyParam; HeaderParam headerParam; CookieParam cookieParam; MultipartParam multipartParam; Type argType; String paramName; Request request; }
@Builder @Wither @AllArgsConstructor @Getter @ToString @EqualsAndHashCode(of = { "correlationId" }) public class SystemData<K, V> { private static final Random r = new Random(); private final long processed; private final long errors; private final Map<K, V> dataMap; private String correlationId; private SystemData(long processed, long errors, Map<K, V> dataMap) { this.processed = processed; this.errors = errors; this.dataMap = dataMap; this.correlationId = "" + r.nextLong(); } }
@AllArgsConstructor @Builder @XmlAccessorType(XmlAccessType.FIELD) @Getter public static class RequestData<T> extends BaseEventInfo { private final long correlationId; private final T query; private final String type; private final Object additionalData; } }
@Builder class ParamStruct { Param param; PathParam pathParam; BodyParam bodyParam; HeaderParam headerParam; CookieParam cookieParam; MultipartParam multipartParam; Type argType; String paramName; Request request; }
/** * @author zhouhao */ @Data @Builder @NoArgsConstructor @AllArgsConstructor public class SqlExecuteResult { private SqlInfo sqlInfo; private Object result; private boolean success; }
@Getter @ToString @AllArgsConstructor @Builder(builderMethodName = "hiddenBuilder")
/** * This class is simple POJO that contains basic information about CustomOp * * @author raver119@gmail.com */ @AllArgsConstructor @Builder public class CustomOpDescriptor { @Getter private long hash; @Getter private int numInputs; @Getter private int numOutputs; @Getter private boolean allowsInplace; @Getter private int numTArgs; @Getter private int numIArgs; }
/** * @author zhouhao * @since 3.0 */ @Data @NoArgsConstructor @AllArgsConstructor @Builder public class SimplePosition implements Position { private static final long serialVersionUID = 1_0; private String id; private String name; private String code; private Department department; }