index
int64
repo_id
string
file_path
string
content
string
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/template/ExpandedTemplate.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/template/ExpandedTemplates.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/template/Template.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/template/TemplateRequest.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/template/Templates.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/user/AuthenticatedUser.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/user/Followees.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/user/Followers.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/user/Stockers.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/user/User.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/user/Users.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita
java-sources/am/ik/jqiita/jqiita/0.8.1/jqiita/util/QiitaOptional.java
/* * Copyright (C) 2014 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/json/tiny-json/0.1.2/am/ik
java-sources/am/ik/json/tiny-json/0.1.2/am/ik/json/Json.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/json/tiny-json/0.1.2/am/ik
java-sources/am/ik/json/tiny-json/0.1.2/am/ik/json/JsonArray.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/json/tiny-json/0.1.2/am/ik
java-sources/am/ik/json/tiny-json/0.1.2/am/ik/json/JsonLexer.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/json/tiny-json/0.1.2/am/ik
java-sources/am/ik/json/tiny-json/0.1.2/am/ik/json/JsonLexerException.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/json/tiny-json/0.1.2/am/ik
java-sources/am/ik/json/tiny-json/0.1.2/am/ik/json/JsonNode.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/json/tiny-json/0.1.2/am/ik
java-sources/am/ik/json/tiny-json/0.1.2/am/ik/json/JsonObject.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/json/tiny-json/0.1.2/am/ik
java-sources/am/ik/json/tiny-json/0.1.2/am/ik/json/JsonParseException.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/json/tiny-json/0.1.2/am/ik
java-sources/am/ik/json/tiny-json/0.1.2/am/ik/json/JsonParser.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/json/tiny-json/0.1.2/am/ik
java-sources/am/ik/json/tiny-json/0.1.2/am/ik/json/Token.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/json/tiny-json/0.1.2/am/ik
java-sources/am/ik/json/tiny-json/0.1.2/am/ik/json/TokenType.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j/LTSV.java
/* * Copyright (C) 2013 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j/LTSVFormatter.java
/* * Copyright (C) 2013 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j/LTSVIterator.java
/* * Copyright (C) 2013 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j/LTSVParser.java
/* * Copyright (C) 2013 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j/package-info.java
/* * Copyright (C) 2013 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j/exception/LTSVException.java
/* * Copyright (C) 2013 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j/exception/LTSVIOException.java
/* * Copyright (C) 2013 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j/exception/LTSVParseException.java
/* * Copyright (C) 2013 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j
java-sources/am/ik/ltsv4j/ltsv4j/0.9.0/am/ik/ltsv4j/exception/package-info.java
/* * Copyright (C) 2013 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/marked4j/marked4j/0.11.0/am/ik
java-sources/am/ik/marked4j/marked4j/0.11.0/am/ik/marked4j/Marked.java
/* * Copyright (C) 2014-2019 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
0
java-sources/am/ik/marked4j/marked4j/0.11.0/am/ik
java-sources/am/ik/marked4j/marked4j/0.11.0/am/ik/marked4j/MarkedBuilder.java
/* * Copyright (C) 2014-2017 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
0
java-sources/am/ik/marked4j/marked4j/0.11.0/am/ik
java-sources/am/ik/marked4j/marked4j/0.11.0/am/ik/marked4j/ReleasableWrapper.java
/* * Copyright (C) 2014-2019 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
0
java-sources/am/ik/marked4j/marked4j/0.11.0/am/ik
java-sources/am/ik/marked4j/marked4j/0.11.0/am/ik/marked4j/package-info.java
/* * Copyright (C) 2014-2017 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
0
java-sources/am/ik/pagination/pagination/0.2.0/am/ik
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination/CursorPage.java
package am.ik.pagination; import java.util.List; import java.util.function.Function; import com.fasterxml.jackson.annotation.JsonIgnore; public record CursorPage<T, C>(List<T> content, int size, @JsonIgnore Function<T, C> toCursor, boolean hasPrevious, boolean hasNext) { public C tail() { if (this.content.isEm...
0
java-sources/am/ik/pagination/pagination/0.2.0/am/ik
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination/CursorPageRequest.java
package am.ik.pagination; import java.util.Optional; public record CursorPageRequest<C>(C cursor, int pageSize, Navigation navigation) { public Optional<C> cursorOptional() { return Optional.ofNullable(this.cursor); } public enum Navigation { NEXT, PREVIOUS; public boolean isNext() { return this == NE...
0
java-sources/am/ik/pagination/pagination/0.2.0/am/ik
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination/OffsetPage.java
package am.ik.pagination; import java.util.List; public record OffsetPage<T>(List<T> content, int size, int number, long totalElements) { public long totalPages() { return this.size == 0 ? 1 : (int) Math.ceil((double) this.totalElements / (double) this.size); } public boolean hasNext() { return this.number +...
0
java-sources/am/ik/pagination/pagination/0.2.0/am/ik
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination/OffsetPageRequest.java
package am.ik.pagination; public record OffsetPageRequest(int pageNumber, int pageSize) { public int offset() { return this.pageNumber * this.pageSize; } }
0
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination/web/CursorPageRequestHandlerMethodArgumentResolver.java
package am.ik.pagination.web; import java.util.function.Consumer; import java.util.function.Function; import am.ik.pagination.CursorPageRequest; import org.springframework.core.MethodParameter; import org.springframework.lang.NonNull; import org.springframework.util.StringUtils; import org.springframework.web.bind.s...
0
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination/web/CursorPageRequestProperties.java
package am.ik.pagination.web; import java.util.function.Function; import am.ik.pagination.CursorPageRequest; public record CursorPageRequestProperties<T>(Function<String, T> paramToCursor, String cursorParameterName, String sizeParameterName, String navigationParameterName, int sizeDefault, int sizeMax, CursorPa...
0
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination/web/OffsetPageRequestHandlerMethodArgumentResolver.java
package am.ik.pagination.web; import java.util.function.Consumer; import am.ik.pagination.OffsetPageRequest; import org.springframework.core.MethodParameter; import org.springframework.lang.NonNull; import org.springframework.web.bind.support.WebDataBinderFactory; import org.springframework.web.context.request.Nativ...
0
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination
java-sources/am/ik/pagination/pagination/0.2.0/am/ik/pagination/web/OffsetPageRequestProperties.java
package am.ik.pagination.web; public record OffsetPageRequestProperties(String pageParameterName, String sizeParameterName, int pageDefault, int sizeDefault, int sizeMax) { public static Builder builder() { return new Builder(); } public static class Builder { private String pageParameterName = "page"; ...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/Query.java
package am.ik.query; import am.ik.query.ast.AndNode; import am.ik.query.ast.FieldNode; import am.ik.query.ast.FuzzyNode; import am.ik.query.ast.Node; import am.ik.query.ast.NodeVisitor; import am.ik.query.ast.NotNode; import am.ik.query.ast.OrNode; import am.ik.query.ast.PhraseNode; import am.ik.query.ast.RangeNode; i...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/AndNode.java
package am.ik.query.ast; import java.util.List; import java.util.Objects; import java.util.function.Consumer; /** * Represents an AND operation node in the query AST. All children must match for this * node to match. * * @author Toshiaki Maki */ public final class AndNode implements Node { private final List<N...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/BaseNodeVisitor.java
package am.ik.query.ast; /** * Base implementation of NodeVisitor with default behavior. Subclasses can override only * the methods they need. * * @param <T> the return type of visit operations * @author Toshiaki Maki */ public abstract class BaseNodeVisitor<T> implements NodeVisitor<T> { protected abstract T ...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/FieldNode.java
package am.ik.query.ast; import am.ik.query.lexer.Token; import am.ik.query.lexer.TokenType; import java.util.Objects; import java.util.function.Consumer; /** * Represents a field query node in the AST. Format: field:value * * @author Toshiaki Maki */ public final class FieldNode implements Node { private final...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/FuzzyNode.java
package am.ik.query.ast; import am.ik.query.lexer.Token; import am.ik.query.lexer.TokenType; import java.util.Objects; import java.util.function.Consumer; /** * Represents a fuzzy query node in the AST. Fuzzy queries match terms within a certain * edit distance. * * @author Toshiaki Maki */ public final class Fu...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/Node.java
package am.ik.query.ast; import java.util.List; import java.util.function.Consumer; /** * Base interface for all AST nodes in a query. This is a sealed interface to ensure type * safety and exhaustive pattern matching. * * @author Toshiaki Maki */ public sealed interface Node permits RootNode, TokenNode, AndNode...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/NodeVisitor.java
package am.ik.query.ast; /** * Visitor interface for traversing query AST nodes. Implements the visitor pattern for * type-safe node traversal. * * @param <T> the return type of visit operations * @author Toshiaki Maki */ public interface NodeVisitor<T> { /** * Visits a token node. * @param node the token ...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/NotNode.java
package am.ik.query.ast; import java.util.List; import java.util.Objects; import java.util.function.Consumer; /** * Represents a NOT operation node in the query AST. The child must not match for this * node to match. * * @author Toshiaki Maki */ public final class NotNode implements Node { private final Node c...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/OrNode.java
package am.ik.query.ast; import java.util.List; import java.util.Objects; import java.util.function.Consumer; /** * Represents an OR operation node in the query AST. At least one child must match for * this node to match. * * @author Toshiaki Maki */ public final class OrNode implements Node { private final Li...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/PhraseNode.java
package am.ik.query.ast; import am.ik.query.lexer.Token; import am.ik.query.lexer.TokenType; import java.util.Objects; import java.util.function.Consumer; /** * Represents a phrase query node in the AST. Phrases are exact matches of multiple terms. * * @author Toshiaki Maki */ public final class PhraseNode implem...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/RangeNode.java
package am.ik.query.ast; import java.util.Objects; import java.util.function.Consumer; /** * Represents a range query node in the AST. Format: [start TO end] or {start TO end} * * @author Toshiaki Maki */ public final class RangeNode implements Node { private final String start; private final String end; pr...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/RootNode.java
package am.ik.query.ast; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.function.Consumer; /** * Represents the root node of a query AST. Acts as a container for top-level query * elements. * * @author Toshiaki Maki */ public final class RootNode implements Node { ...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/TokenNode.java
package am.ik.query.ast; import am.ik.query.lexer.Token; import am.ik.query.lexer.TokenType; import java.util.Objects; import java.util.function.Consumer; /** * Represents a token node in the query AST. This is a leaf node containing a single * token. * * @author Toshiaki Maki */ public final class TokenNode imp...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/ast/WildcardNode.java
package am.ik.query.ast; import am.ik.query.lexer.Token; import am.ik.query.lexer.TokenType; import java.util.Objects; import java.util.function.Consumer; /** * Represents a wildcard query node in the AST. Supports * (zero or more chars) and ? * (single char) wildcards. * * @author Toshiaki Maki */ public final ...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/lexer/LegacyQueryLexer.java
package am.ik.query.lexer; import java.util.ArrayList; import java.util.List; /** * Legacy lexer for backward compatibility. * * @author Toshiaki Maki * @deprecated Use QueryLexer instead */ @Deprecated(since = "0.2.0", forRemoval = true) public class LegacyQueryLexer { private final String input; public Le...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/lexer/QueryLexer.java
package am.ik.query.lexer; import java.util.ArrayList; import java.util.List; import java.util.Set; /** * Query lexer with support for advanced query features. * * @author Toshiaki Maki */ public class QueryLexer { private static final Set<String> BOOLEAN_OPERATORS = Set.of("AND", "OR", "NOT"); private String...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/lexer/Token.java
package am.ik.query.lexer; public record Token(TokenType type, String value) { }
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/lexer/TokenType.java
package am.ik.query.lexer; /** * Enumeration of token types supported by the query parser. * * @author Toshiaki Maki */ public enum TokenType { /** * A quoted phrase like "hello world" */ PHRASE, /** * An excluded term prefixed with - like -world */ EXCLUDE, /** * The OR boolean operator */ OR...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/parser/LegacyQueryParser.java
package am.ik.query.parser; import am.ik.query.ast.RootNode; import am.ik.query.ast.TokenNode; import am.ik.query.lexer.Token; import java.util.List; /** * Legacy query parser for backward compatibility. */ @Deprecated(since = "0.2.0", forRemoval = true) class LegacyQueryParser { private final List<Token> tokens;...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/parser/QueryParseException.java
package am.ik.query.parser; /** * Exception thrown when a query parsing error occurs. * * @author Toshiaki Maki */ public class QueryParseException extends RuntimeException { private final int position; private final String query; public QueryParseException(String message, String query, int position) { sup...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/parser/QueryParser.java
package am.ik.query.parser; import am.ik.query.Query; import am.ik.query.ast.AndNode; import am.ik.query.ast.FieldNode; import am.ik.query.ast.FuzzyNode; import am.ik.query.ast.Node; import am.ik.query.ast.NotNode; import am.ik.query.ast.OrNode; import am.ik.query.ast.PhraseNode; import am.ik.query.ast.RangeNode; impo...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/transform/QueryNormalizer.java
package am.ik.query.transform; import am.ik.query.ast.AndNode; import am.ik.query.ast.FieldNode; import am.ik.query.ast.FuzzyNode; import am.ik.query.ast.Node; import am.ik.query.ast.NodeVisitor; import am.ik.query.ast.NotNode; import am.ik.query.ast.OrNode; import am.ik.query.ast.PhraseNode; import am.ik.query.ast.Ra...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/transform/QueryOptimizer.java
package am.ik.query.transform; import am.ik.query.ast.AndNode; import am.ik.query.ast.FieldNode; import am.ik.query.ast.FuzzyNode; import am.ik.query.ast.Node; import am.ik.query.ast.NodeVisitor; import am.ik.query.ast.NotNode; import am.ik.query.ast.OrNode; import am.ik.query.ast.PhraseNode; import am.ik.query.ast.Ra...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/transform/QueryTransformer.java
package am.ik.query.transform; import am.ik.query.Query; import am.ik.query.ast.Node; import am.ik.query.ast.NodeVisitor; import java.util.function.Function; /** * Interface for transforming queries. Implementations can modify the query structure. * * @author Toshiaki Maki */ @FunctionalInterface public interface...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/util/QueryPrinter.java
package am.ik.query.util; import am.ik.query.Query; import am.ik.query.ast.FieldNode; import am.ik.query.ast.FuzzyNode; import am.ik.query.ast.Node; import am.ik.query.ast.RangeNode; import am.ik.query.ast.TokenNode; import java.io.PrintWriter; import java.io.StringWriter; /** * Pretty printer for queries. * * @au...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/validation/QueryValidationException.java
package am.ik.query.validation; import java.util.List; /** * Exception thrown when query validation fails. * * @author Toshiaki Maki */ public class QueryValidationException extends RuntimeException { private final ValidationResult validationResult; public QueryValidationException(ValidationResult validationR...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/validation/QueryValidator.java
package am.ik.query.validation; import am.ik.query.Query; import am.ik.query.ast.AndNode; import am.ik.query.ast.FieldNode; import am.ik.query.ast.FuzzyNode; import am.ik.query.ast.Node; import am.ik.query.ast.NodeVisitor; import am.ik.query.ast.NotNode; import am.ik.query.ast.OrNode; import am.ik.query.ast.PhraseNode...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/validation/ValidationError.java
package am.ik.query.validation; import java.util.Objects; /** * Represents a single validation error. * * @author Toshiaki Maki */ public record ValidationError(String message, String field, Object invalidValue) { public ValidationError { Objects.requireNonNull(message, "message must not be null"); } /** ...
0
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query
java-sources/am/ik/query/query-parser/0.2.0/am/ik/query/validation/ValidationResult.java
package am.ik.query.validation; import java.util.List; import java.util.Objects; /** * Result of query validation. * * @author Toshiaki Maki */ public record ValidationResult(boolean isValid, List<ValidationError> errors) { public ValidationResult { Objects.requireNonNull(errors, "errors must not be null"); ...
0
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik/query/Node.java
package am.ik.query; import java.util.List; public sealed interface Node permits RootNode, TokenNode { String value(); static void print(RootNode node) { print(node, 0); } static void print(Node node, int level) { if (node instanceof TokenNode) { System.out.println("\t".repeat(level) + node); } else...
0
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik/query/QueryLexer.java
package am.ik.query; import java.util.ArrayList; import java.util.List; public class QueryLexer { public static List<Token> tokenize(String input) { List<Token> tokens = new ArrayList<>(); int length = input.length(); for (int i = 0; i < length;) { char current = input.charAt(i); if (Character.isWhitesp...
0
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik/query/QueryParser.java
package am.ik.query; import java.util.List; public class QueryParser { private final List<Token> tokens; private int position; public QueryParser(List<Token> tokens) { this.tokens = tokens; this.position = 0; } public RootNode parse() { return parseExpression(new RootNode()); } private RootNode pars...
0
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik/query/RootNode.java
package am.ik.query; import java.util.ArrayList; import java.util.List; public final class RootNode implements Node { private final List<Node> children = new ArrayList<>(); @Override public String value() { return "root"; } public List<Node> children() { return this.children; } public boolean hasChildr...
0
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik/query/Token.java
package am.ik.query; public record Token(TokenType type, String value) { }
0
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik/query/TokenNode.java
package am.ik.query; public record TokenNode(TokenType type, String value) implements Node { }
0
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik
java-sources/am/ik/query/query-queryParser/0.1.0/am/ik/query/TokenType.java
package am.ik.query; public enum TokenType { PHRASE, EXCLUDE, OR, KEYWORD, WHITESPACE, LPAREN, // '(' RPAREN // ')' }
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/AmzDate.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/AmzHttpHeaders.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/Bucket.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/Content.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/DeleteMarker.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/ListBucketResult.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/ListBucketsResult.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/ListVersionsResult.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/Owner.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/S3Client.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/S3Content.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/S3Path.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/S3Request.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik
java-sources/am/ik/s3/simple-s3-client/0.2.2/am/ik/s3/Version.java
/* * Copyright (C) 2023 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
0
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka/CloudKarafkaServiceBrokerApplication.java
package am.ik.servicebroker.cloudkarafka; import org.apache.catalina.filters.RequestDumperFilter; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Pr...
0
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka/cloudkarafka/CloudKarafka.java
package am.ik.servicebroker.cloudkarafka.cloudkarafka; import java.util.Base64; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @ConfigurationProperties(prefix = "cloudkarafka") @Component public class CloudKarafka { private String uri = "...
0
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka/cloudkarafka/CloudKarafkaClient.java
package am.ik.servicebroker.cloudkarafka.cloudkarafka; import java.util.Arrays; import java.util.List; import java.util.Objects; import java.util.Optional; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.boot.web.client.RestTemplateBuilder; import org.springframework.http.HttpEntity; i...
0
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka/cloudkarafka/CloudKarafkaInstance.java
package am.ik.servicebroker.cloudkarafka.cloudkarafka; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonInclude; @JsonInclude(JsonInclude.Include.NON_NULL) public class CloudKarafkaInstance implements Serializable { private Integer id; private String name; private CloudKarafkaPlan plan; p...
0
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka/cloudkarafka/CloudKarafkaPlan.java
package am.ik.servicebroker.cloudkarafka.cloudkarafka; import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonCreator; public enum CloudKarafkaPlan { DUCKY; @JsonCreator public static CloudKarafkaPlan of(String value) { return Arrays.stream(values()).filter(v -> v.name().equalsIgnoreCase(value)) ...
0
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka/cloudkarafka/CloudKarafkaRegion.java
package am.ik.servicebroker.cloudkarafka.cloudkarafka; import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonCreator; public enum CloudKarafkaRegion { GOOGLE_COMPUTE_ENGINE_US_CENTRAL1("google-compute-engine::us-central1"), // AMAZON_WEB_SERVICES_US_EAST_1("amazon-web-services::us-east-1"), // AMAZ...
0
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka
java-sources/am/ik/servicebroker/cloud-karafka-service-broker/0.1.0/am/ik/servicebroker/cloudkarafka/config/SecurityConfig.java
package am.ik.servicebroker.cloudkarafka.config; import org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.conf...