repo stringclasses 1k
values | file_url stringlengths 96 373 | file_path stringlengths 11 294 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 6
values | commit_sha stringclasses 1k
values | retrieved_at stringdate 2026-01-04 14:45:56 2026-01-04 18:30:23 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/Query.java | src/main/java/io/redisearch/Query.java | package io.redisearch;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import redis.clients.jedis.Protocol;
import redis.clients.jedis.util.SafeEncoder;
/**
* Query represents query parameters and filters to load results from the engine
*/
public class Query {
/**
* Filter r... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/FieldName.java | src/main/java/io/redisearch/FieldName.java | package io.redisearch;
import java.util.Collection;
import redis.clients.jedis.util.SafeEncoder;
public class FieldName {
private static final String AS_ENCODED = "AS";
private static final byte[] AS_BINARY = SafeEncoder.encode(AS_ENCODED);
private final String name;
private String attribute;
... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/Document.java | src/main/java/io/redisearch/Document.java | package io.redisearch;
import com.google.gson.Gson;
import redis.clients.jedis.util.SafeEncoder;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Document represents a single indexed document or entity in the engine
*/
public class Document implements Seria... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/Suggestion.java | src/main/java/io/redisearch/Suggestion.java | package io.redisearch;
import java.util.Objects;
public class Suggestion {
private final String string;
private final double score;
private final String payload;
private Suggestion(Builder b) {
this.string = b.string;
this.score = b.score;
this.payload = b.payload;
}
... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/Keywords.java | src/main/java/io/redisearch/Keywords.java | package io.redisearch;
import redis.clients.jedis.commands.ProtocolCommand;
import redis.clients.jedis.util.SafeEncoder;
public enum Keywords implements ProtocolCommand {
SCHEMA, VERBATIM, NOCONTENT, NOSTOPWORDS, WITHSCORES, WITHPAYLOADS, LANGUAGE, INFIELDS,
SORTBY, ASC, DESC, PAYLOAD, LIMIT, HIGHLIGHT, FIELDS, T... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/SearchResult.java | src/main/java/io/redisearch/SearchResult.java | package io.redisearch;
import java.util.ArrayList;
import java.util.List;
import redis.clients.jedis.BuilderFactory;
/**
* SearchResult encapsulates the returned result from a search query.
* It contains publicly accessible fields for the total number of results, and an array of {@link Document}
* objects containi... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/Value.java | src/main/java/io/redisearch/querybuilder/Value.java | package io.redisearch.querybuilder;
/**
* Created by mnunberg on 2/23/18.
*/
public abstract class Value {
public boolean isCombinable() {
return false;
}
public abstract String toString();
}
| java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/DoubleRangeValue.java | src/main/java/io/redisearch/querybuilder/DoubleRangeValue.java | package io.redisearch.querybuilder;
/**
* @author mnunberg on 2/23/18.
*/
public class DoubleRangeValue extends RangeValue {
private double from;
private double to;
private static void appendNum(StringBuilder sb, double n, boolean inclusive) {
if (!inclusive) {
sb.append("(");
... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/QueryNode.java | src/main/java/io/redisearch/querybuilder/QueryNode.java | package io.redisearch.querybuilder;
import java.util.*;
public abstract class QueryNode implements Node {
private final List<Node> children = new ArrayList<>();
protected abstract String getJoinString();
/**
* Add a match criteria to this node
* @param field The field to check. If null or empty... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/Node.java | src/main/java/io/redisearch/querybuilder/Node.java | package io.redisearch.querybuilder;
import io.redisearch.Query;
/**
* Created by mnunberg on 2/23/18.
*
* Base node interface
*/
public interface Node {
enum ParenMode {
/** Always encapsulate */
ALWAYS,
/**
* Never encapsulate. Note that this may be ignored if parenthes... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/OptionalNode.java | src/main/java/io/redisearch/querybuilder/OptionalNode.java | package io.redisearch.querybuilder;
/**
* Created by mnunberg on 2/23/18.
*
* The optional node affects scoring and ordering. If it evaluates to true, the result is ranked
* higher. It is helpful to combine it with a {@link UnionNode} to rank a document higher if it meets
* one of several criteria.
*
* In RS: {... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/RangeValue.java | src/main/java/io/redisearch/querybuilder/RangeValue.java | package io.redisearch.querybuilder;
/**
* @author mnunberg on 2/23/18.
*/
public abstract class RangeValue extends Value {
private boolean inclusiveMin = true;
private boolean inclusiveMax = true;
@Override
public boolean isCombinable() {
return false;
}
protected abstract void appe... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/IntersectNode.java | src/main/java/io/redisearch/querybuilder/IntersectNode.java | package io.redisearch.querybuilder;
/**
* The intersection node evaluates to true if any of its children are true.
*
* In RS: {@code @f1:v1 @f2:v2}
*/
public class IntersectNode extends QueryNode {
@Override
protected String getJoinString() {
return " ";
}
}
| java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/UnionNode.java | src/main/java/io/redisearch/querybuilder/UnionNode.java | package io.redisearch.querybuilder;
/**
* Created by mnunberg on 2/23/18.
*/
public class UnionNode extends QueryNode {
@Override
protected String getJoinString() {
return "|";
}
}
| java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/LongRangeValue.java | src/main/java/io/redisearch/querybuilder/LongRangeValue.java | package io.redisearch.querybuilder;
public class LongRangeValue extends RangeValue {
private long from;
private long to;
@Override
public boolean isCombinable() {
return false;
}
private static void appendNum(StringBuilder sb, long n, boolean inclusive) {
if (!inclusive) {... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/DisjunctNode.java | src/main/java/io/redisearch/querybuilder/DisjunctNode.java | package io.redisearch.querybuilder;
/**
* A disjunct node. evaluates to true if any of its children are false. Conversely, this node evaluates to false
* only iff <b>all</b> of its children are true, making it the exact inverse of {@link IntersectNode}
*
* In RS, it looks like:
*
* {@code -(@f1:v1 @f2:v2)}
*
*... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/ValueNode.java | src/main/java/io/redisearch/querybuilder/ValueNode.java | package io.redisearch.querybuilder;
import java.util.StringJoiner;
/**
* Created by mnunberg on 2/23/18.
*/
public class ValueNode implements Node {
private final Value[] values;
private final String field;
private final String joinString;
public ValueNode(String field, String joinstr, Value... val... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/GeoValue.java | src/main/java/io/redisearch/querybuilder/GeoValue.java | package io.redisearch.querybuilder;
/**
* Created by mnunberg on 2/23/18.
*/
public class GeoValue extends Value {
public enum Unit {
KILOMETERS("km"),
METERS("m"),
FEET("ft"),
MILES("mi");
private final String unit;
Unit(String unit) {
this.unit = uni... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/Values.java | src/main/java/io/redisearch/querybuilder/Values.java | package io.redisearch.querybuilder;
import java.util.StringJoiner;
/**
* Created by mnunberg on 2/23/18.
*/
public class Values {
private Values() {
}
private abstract static class ScalableValue extends Value {
@Override
public boolean isCombinable() {
return true;
}... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/DisjunctUnionNode.java | src/main/java/io/redisearch/querybuilder/DisjunctUnionNode.java | package io.redisearch.querybuilder;
/**
* A disjunct union node is the inverse of a {@link UnionNode}. It evaluates to true only iff <b>all</b> its
* children are false. Conversely, it evaluates to false if <b>any</b> of its children are true.
*
* As an RS query it looks like {@code -(@f1:v1|@f2:v2)}
*
* @see Di... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/querybuilder/QueryBuilder.java | src/main/java/io/redisearch/querybuilder/QueryBuilder.java | package io.redisearch.querybuilder;
import java.util.Arrays;
import static io.redisearch.querybuilder.Values.value;
/**
* Created by mnunberg on 2/23/18.
*
* This class contains methods to construct query nodes. These query nodes can be added to parent query
* nodes (building a chain) or used as the root query n... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/aggregation/Row.java | src/main/java/io/redisearch/aggregation/Row.java | package io.redisearch.aggregation;
import java.util.Map;
/**
* Created by mnunberg on 5/17/18.
*
* Row in aggregation result-set
*/
public class Row {
private final Map<String, Object> fields;
public Row(Map<String, Object> fields) {
this.fields = fields;
}
public boolean containsK... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/aggregation/AggregationBuilder.java | src/main/java/io/redisearch/aggregation/AggregationBuilder.java | package io.redisearch.aggregation;
import io.redisearch.FieldName;
import io.redisearch.aggregation.reducers.Reducer;
import redis.clients.jedis.util.SafeEncoder;
import java.util.*;
/**
* @author Guy Korland
*/
public class AggregationBuilder {
private final List<String> args = new ArrayList<>();
private boo... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/aggregation/Limit.java | src/main/java/io/redisearch/aggregation/Limit.java | package io.redisearch.aggregation;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Created by mnunberg on 2/22/18.
*/
public class Limit {
public static final Limit NO_LIMIT = new Limit(0,0);
private final int offset;
private final int count;
public Limit(i... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/aggregation/Group.java | src/main/java/io/redisearch/aggregation/Group.java | package io.redisearch.aggregation;
import io.redisearch.aggregation.reducers.Reducer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* Created by mnunberg on 2/22/18.
*/
public class Group {
private final List<Reducer> reducers = new ArrayList<>();
private final List<String... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/aggregation/SortedField.java | src/main/java/io/redisearch/aggregation/SortedField.java | package io.redisearch.aggregation;
/**
* Created by mnunberg on 2/22/18.
*/
public class SortedField {
public enum SortOrder {
ASC, DESC
}
private final String fieldName;
private final SortOrder sortOrder;
public SortedField(String fieldName, SortOrder order) {
this.fieldName = ... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/aggregation/AggregationRequest.java | src/main/java/io/redisearch/aggregation/AggregationRequest.java | package io.redisearch.aggregation;
import io.redisearch.FieldName;
import io.redisearch.aggregation.reducers.Reducer;
import redis.clients.jedis.util.SafeEncoder;
import java.util.*;
/**
* Created by mnunberg on 2/22/18.
* @deprecated use {@link io.redisearch.aggregation.AggregationBuilder} instead
*/
@Deprecated... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/aggregation/reducers/Reducer.java | src/main/java/io/redisearch/aggregation/reducers/Reducer.java | package io.redisearch.aggregation.reducers;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Created by mnunberg on 2/22/18.
*
* This class is normally received via one of the subclasses or via Reducers
*/
public abstract class Reducer {
private String alias;
private ... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/aggregation/reducers/Reducers.java | src/main/java/io/redisearch/aggregation/reducers/Reducers.java | package io.redisearch.aggregation.reducers;
import io.redisearch.aggregation.SortedField;
import java.util.List;
/**
* Created by mnunberg on 2/22/18.
*/
public class Reducers {
public static Reducer count() {
return new Reducer() {
@Override
public String getName() {
... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/client/Client.java | src/main/java/io/redisearch/client/Client.java | package io.redisearch.client;
import io.redisearch.*;
import io.redisearch.aggregation.AggregationBuilder;
import io.redisearch.aggregation.AggregationRequest;
import io.redisearch.client.SuggestionOptions.With;
import redis.clients.jedis.*;
import redis.clients.jedis.commands.ProtocolCommand;
import redis.clients.jed... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | true |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/client/AutoCompleter.java | src/main/java/io/redisearch/client/AutoCompleter.java | package io.redisearch.client;
import redis.clients.jedis.commands.ProtocolCommand;
import redis.clients.jedis.util.SafeEncoder;
/**
* TODO: Abstract auto-complete commands
*/
public class AutoCompleter {
public enum Command implements ProtocolCommand {
SUGADD("FT.SUGADD"),
SUGGET("FT.SUGGET"),
... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/client/ConfigOption.java | src/main/java/io/redisearch/client/ConfigOption.java | package io.redisearch.client;
import redis.clients.jedis.commands.ProtocolCommand;
import redis.clients.jedis.util.SafeEncoder;
public enum ConfigOption implements ProtocolCommand {
NOGC,
MINPREFIX,
MAXEXPANSIONS,
TIMEOUT,
ON_TIMEOUT,
MIN_PHONETIC_TERM_LEN,
ALL("*");
private final b... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/client/AddOptions.java | src/main/java/io/redisearch/client/AddOptions.java | package io.redisearch.client;
/**
* Created by mnunberg on 2/15/18.
*
* This class represents options which may be passed when adding a document
*/
public class AddOptions {
public enum ReplacementPolicy {
/** The default mode. This will cause the add operation to fail if the document already exists */... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/client/Commands.java | src/main/java/io/redisearch/client/Commands.java | package io.redisearch.client;
import redis.clients.jedis.commands.ProtocolCommand;
import redis.clients.jedis.util.SafeEncoder;
/**
* Jedis enum for command encapsulation
*/
public class Commands {
public enum Command implements ProtocolCommand {
CREATE("FT.CREATE"),
ALTER("FT.ALTER"),
... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/client/IndexDefinition.java | src/main/java/io/redisearch/client/IndexDefinition.java | package io.redisearch.client;
import java.util.List;
import io.redisearch.Keywords;
/**
* IndexDefinition encapsulates configuration for index definition creation and should be given to
* the client on index creation
*/
public class IndexDefinition {
public enum Type {
HASH,
JSON
}
p... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/client/ClusterClient.java | src/main/java/io/redisearch/client/ClusterClient.java | package io.redisearch.client;
import redis.clients.jedis.BinaryClient;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisSentinelPool;
import java.util.List;
import java.util.Set;
/**
* Created by dvirvolk on 12/04/2017.
* @deprecated ClusterClient is going to be removed in the future
*/
@Deprecat... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/client/SuggestionOptions.java | src/main/java/io/redisearch/client/SuggestionOptions.java | package io.redisearch.client;
import java.util.Optional;
public class SuggestionOptions {
private static final String WITHPAYLOADS_FLAG = "WITHPAYLOADS";
private static final String WITHSCORES_FLAG = "WITHSCORES";
private With with;
private boolean fuzzy;
private int max;
private SuggestionOp... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
RediSearch/JRediSearch | https://github.com/RediSearch/JRediSearch/blob/0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8/src/main/java/io/redisearch/client/util/ClientUtil.java | src/main/java/io/redisearch/client/util/ClientUtil.java | package io.redisearch.client.util;
import java.util.HashMap;
import java.util.Map;
public class ClientUtil {
public static Map<String, String> toStringMap(Map<String, Object> input) {
Map<String, String> output = new HashMap<>(input.size());
for (Map.Entry<String, Object> entry : input.entrySet()) {
... | java | BSD-2-Clause | 0b45cc804ba8f5309f28cc8ea1d4586c33aff1e8 | 2026-01-05T02:29:56.893723Z | false |
johnpoth/jshell-maven-plugin | https://github.com/johnpoth/jshell-maven-plugin/blob/9223ebc1c3a4a4338b5fb4653bbe13f9ee666c05/src/main/java/module-info.java | src/main/java/module-info.java | module com.github.johnpoth.jshell {
requires jdk.jshell;
/**not modules yet*/
requires maven.plugin.api;
requires maven.plugin.annotations;
requires maven.artifact;
exports com.github.johnpoth.jshell;
uses javax.tools.Tool;
}
| java | Apache-2.0 | 9223ebc1c3a4a4338b5fb4653bbe13f9ee666c05 | 2026-01-05T02:30:05.216430Z | false |
johnpoth/jshell-maven-plugin | https://github.com/johnpoth/jshell-maven-plugin/blob/9223ebc1c3a4a4338b5fb4653bbe13f9ee666c05/src/main/java/com/github/johnpoth/jshell/JShellMojo.java | src/main/java/com/github/johnpoth/jshell/JShellMojo.java | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | java | Apache-2.0 | 9223ebc1c3a4a4338b5fb4653bbe13f9ee666c05 | 2026-01-05T02:30:05.216430Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/benchmark/BaseWorker.java | src/benchmark/BaseWorker.java | public abstract class BaseWorker extends Thread {
private final Benchmark benchmark;
private final int id;
private final long loop;
protected final int borrowsPerLoop;
protected int simulateBlockingMs;
long err = 0;
public BaseWorker(Benchmark benchmark, int id, int borrowsPerLoop, long lo... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/benchmark/BenchmarkCommons.java | src/benchmark/BenchmarkCommons.java | import org.apache.commons.pool2.PooledObject;
import org.apache.commons.pool2.PooledObjectFactory;
import org.apache.commons.pool2.impl.DefaultPooledObject;
import org.apache.commons.pool2.impl.GenericObjectPool;
import java.util.ArrayList;
import java.util.List;
/**
* @author Daniel
*/
public class BenchmarkCommon... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/benchmark/BenchmarkFastObjectPoolDisruptor.java | src/benchmark/BenchmarkFastObjectPoolDisruptor.java | import cn.danielw.fop.DisruptorObjectPool;
import cn.danielw.fop.ObjectFactory;
import cn.danielw.fop.PoolConfig;
/**
* @author Daniel
*/
public class BenchmarkFastObjectPoolDisruptor extends Benchmark {
BenchmarkFastObjectPoolDisruptor(int workerCount, int borrows, int loop, int simulateBlockingMs) {
s... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/benchmark/BenchmarkResult.java | src/benchmark/BenchmarkResult.java | public class BenchmarkResult {
private final String poolName;
private final long created;
private final double errorRate;
private final double avgThroughput;
private final double avgLatency;
private final int threads;
private final int borrows;
private final long loops;
public Benc... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/benchmark/Start.java | src/benchmark/Start.java | import java.util.*;
import java.util.stream.Collectors;
public class Start {
// key: threads
// value: pool-name and throughput
private static final Map<Integer, Map<String, Double>> throughputByThreads = new TreeMap<>();
// key: threads
// value: pool-name and error rate
private static final ... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/benchmark/BenchmarkFastObjectPool.java | src/benchmark/BenchmarkFastObjectPool.java | import cn.danielw.fop.ObjectFactory;
import cn.danielw.fop.ObjectPool;
import cn.danielw.fop.PoolConfig;
import cn.danielw.fop.Poolable;
import java.util.ArrayList;
import java.util.List;
/**
* @author Daniel
*/
public class BenchmarkFastObjectPool extends Benchmark {
BenchmarkFastObjectPool(String name, int w... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/benchmark/BenchmarkFurious.java | src/benchmark/BenchmarkFurious.java | import nf.fr.eraasoft.pool.ObjectPool;
import nf.fr.eraasoft.pool.PoolSettings;
import nf.fr.eraasoft.pool.PoolableObjectBase;
import java.util.ArrayList;
import java.util.List;
/**
* @author Daniel
*/
public class BenchmarkFurious extends Benchmark {
BenchmarkFurious(int workerCount, int borrows, int loop, in... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/benchmark/Benchmark.java | src/benchmark/Benchmark.java | import java.text.DecimalFormat;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicLong;
/**
* @author Daniel
*/
public class Benchmark {
final String name;
final double[] statsAvgRespTime;
final long[] statsErrCount;
final private int workerCount;
final private... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/benchmark/BenchmarkStormpot.java | src/benchmark/BenchmarkStormpot.java | import stormpot.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.TimeUnit;
/**
* @author Daniel
*/
public class BenchmarkStormpot extends Benchmark {
private static final Set<Slot... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/test/java/TestObjectPool.java | src/test/java/TestObjectPool.java | import cn.danielw.fop.ObjectFactory;
import cn.danielw.fop.ObjectPool;
import cn.danielw.fop.PoolConfig;
import cn.danielw.fop.Poolable;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import static org.junit.Assert.assertEqual... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/test/java/cn/danielw/fop/PoolConfigTest.java | src/test/java/cn/danielw/fop/PoolConfigTest.java | package cn.danielw.fop;
import org.junit.Test;
import static java.lang.Math.abs;
import static org.junit.Assert.*;
public class PoolConfigTest {
@Test
public void testMaxWait() {
PoolConfig c = new PoolConfig();
assertEquals(5000, c.getMaxWaitMilliseconds()); // default value
c.setMa... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/main/java/cn/danielw/fop/ObjectPool.java | src/main/java/cn/danielw/fop/ObjectPool.java | package cn.danielw.fop;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* @author Daniel
*/
public class ObjectPool<T> {
private static final Logger logger = Log... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/main/java/cn/danielw/fop/PoolInvalidObjectException.java | src/main/java/cn/danielw/fop/PoolInvalidObjectException.java | package cn.danielw.fop;
/**
* This exception is to be thrown by ObjectPool.borrowObject(), if the object retrieved from the pool is invalid
* (cannot be validated by <code>factory.validate(T obj)</code>)
*/
public class PoolInvalidObjectException extends RuntimeException {
public PoolInvalidObjectException() {
... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/main/java/cn/danielw/fop/DisruptorObjectPool.java | src/main/java/cn/danielw/fop/DisruptorObjectPool.java | package cn.danielw.fop;
import com.conversantmedia.util.concurrent.DisruptorBlockingQueue;
import java.util.concurrent.BlockingQueue;
/**
* This pool has disruptor as the underlying blocking queue.
*/
public class DisruptorObjectPool<T> extends ObjectPool<T> {
/**
* build a disruptor-based pool for better ... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/main/java/cn/danielw/fop/PoolConfig.java | src/main/java/cn/danielw/fop/PoolConfig.java | package cn.danielw.fop;
/**
* @author Daniel
*/
public class PoolConfig {
private int maxWaitMilliseconds = 5000; // when pool is full, wait at most 5 seconds, then throw an exception
private int maxIdleMilliseconds = 300000; // objects idle for 5 minutes will be destroyed to shrink the pool size
privat... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/main/java/cn/danielw/fop/ObjectFactory.java | src/main/java/cn/danielw/fop/ObjectFactory.java | package cn.danielw.fop;
/**
* @author Daniel
*/
public interface ObjectFactory<T> {
/**
* @return the object to be created
*/
T create();
/**
* destroy the object gracefully.
*/
void destroy(T t);
/**
* validate the object before returning to the consumer. Note, the va... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/main/java/cn/danielw/fop/ObjectPoolPartition.java | src/main/java/cn/danielw/fop/ObjectPoolPartition.java | package cn.danielw.fop;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ThreadLocalRandom;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* @author Daniel
*/
public class ObjectPoolPartition<T> {
private static final Logger logger = Logger.getLogger(ObjectPoolPartit... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/main/java/cn/danielw/fop/Poolable.java | src/main/java/cn/danielw/fop/Poolable.java | package cn.danielw.fop;
/**
* @author Daniel
* AutoCloseable.close() is not idemponent, so don't close it multiple times!
*/
public class Poolable<T> implements AutoCloseable {
private final T object;
private ObjectPool<T> pool;
private final int partition;
private long lastAccessTs;
/**
*... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
DanielYWoo/fast-object-pool | https://github.com/DanielYWoo/fast-object-pool/blob/7d459b31618ae752a0ce46392993f6ced76b8d4c/src/main/java/cn/danielw/fop/PoolExhaustedException.java | src/main/java/cn/danielw/fop/PoolExhaustedException.java | package cn.danielw.fop;
/**
* When the pool has been exhausted, <code>getObject(false)</code> will throw this exception
* if no object is available within <code>PoolConfig.maxWaitMilliseconds</code>.
*/
public class PoolExhaustedException extends RuntimeException {
public PoolExhaustedException() {
sup... | java | Apache-2.0 | 7d459b31618ae752a0ce46392993f6ced76b8d4c | 2026-01-05T02:30:10.392839Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/OxygenCliApplication.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/OxygenCliApplication.java | package com.isxcode.oxygen.cli;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* start up
*
* @author ispong
* @since 0.0.2
*/
@SpringBootApplication
public class OxygenCliApplication {
public static void main(String[] args) {
Spri... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/controller/FreecodeController.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/controller/FreecodeController.java | package com.isxcode.oxygen.cli.controller;
import com.isxcode.oxygen.cli.service.FreecodeService;
import com.isxcode.oxygen.flysql.response.SuccessResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.anno... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/constant/FreecodeConstants.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/constant/FreecodeConstants.java | package com.isxcode.oxygen.cli.constant;
import java.util.Arrays;
import java.util.List;
/**
* freecode constants
*
* @author ispong
* @since 0.0.1
*/
public interface FreecodeConstants {
/** java file suffix */
String JAVA_FILE_SUFFIX = ".java";
/** table name split str */
String splitStr = ",";
/** sys... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/service/FreecodeService.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/service/FreecodeService.java | package com.isxcode.oxygen.cli.service;
import com.isxcode.oxygen.cli.constant.FreecodeConstants;
import com.isxcode.oxygen.cli.entity.FreecodeInfo;
import com.isxcode.oxygen.cli.exception.FreecodeException;
import com.isxcode.oxygen.cli.properties.FreecodeProperties;
import com.isxcode.oxygen.cli.repository.FreecodeR... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/command/StartCommand.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/command/StartCommand.java | package com.isxcode.oxygen.cli.command;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Configuration;
import org.springframework.shell.component.flow.ComponentFlow;
import org.springframework.shell.component.flow.ResultMode;
import org.springframework.shell.component.flow.SelectIt... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/store/LocalStorage.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/store/LocalStorage.java | package com.isxcode.oxygen.cli.store;
import com.isxcode.oxygen.cli.pojo.ProjectInfo;
/**
* cache project info
*
* @author ispong
* @since 0.0.2
*/
public class LocalStorage {
/** project basic info */
public static ProjectInfo projectInfo = new ProjectInfo();
/** now command code to show which command */
... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/exception/FreecodeException.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/exception/FreecodeException.java | package com.isxcode.oxygen.cli.exception;
/**
* freecode exception
*
* @author ispong
* @since 0.0.1
*/
public class FreecodeException extends RuntimeException {
public FreecodeException(String message) {
super("[oxygen-freecode] " + message);
}
}
| java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/utils/FreecodeUtils.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/utils/FreecodeUtils.java | package com.isxcode.oxygen.cli.utils;
import static java.util.regex.Pattern.compile;
import com.isxcode.oxygen.cli.entity.FreecodeInfo;
import com.isxcode.oxygen.cli.entity.TableColumnInfo;
import com.isxcode.oxygen.cli.properties.FreecodeProperties;
import com.isxcode.oxygen.core.freemarker.FreemarkerUtils;
import j... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/properties/FreecodeProperties.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/properties/FreecodeProperties.java | package com.isxcode.oxygen.cli.properties;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* freecode properties
*
* @author ispong
* @since 0.0.1
*/
@Data
@ConfigurationProperties("oxy... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/repository/FreecodeRepository.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/repository/FreecodeRepository.java | package com.isxcode.oxygen.cli.repository;
import com.isxcode.oxygen.cli.constant.FreecodeConstants;
import com.isxcode.oxygen.cli.entity.TableColumnInfo;
import com.isxcode.oxygen.cli.exception.FreecodeException;
import com.isxcode.oxygen.cli.utils.FreecodeUtils;
import com.isxcode.oxygen.core.reflect.ReflectUtils;
i... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/entity/TableInfo.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/entity/TableInfo.java | package com.isxcode.oxygen.cli.entity;
import lombok.Data;
/**
* table info
*
* @author ispong
* @version v0.1.0
*/
@Data
public class TableInfo {
/** table comment */
private String tableComment;
}
| java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/entity/FreecodeInfo.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/entity/FreecodeInfo.java | package com.isxcode.oxygen.cli.entity;
import com.isxcode.oxygen.cli.properties.FreecodeProperties;
import java.util.List;
import lombok.Data;
/**
* freemarker all info
*
* @author ispong
* @since 0.0.1
*/
@Data
public class FreecodeInfo {
/** table columns list */
private List<TableColumnInfo> tableColumns;
... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/entity/TableColumnInfo.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/entity/TableColumnInfo.java | package com.isxcode.oxygen.cli.entity;
import com.isxcode.oxygen.cli.utils.FreecodeUtils;
import com.isxcode.oxygen.core.reflect.ReflectUtils;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* table column info
*
* @author ispong
* @version v0.1.0
*/
@Data
@AllArgsConst... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/annotation/EnableFreecode.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/annotation/EnableFreecode.java | package com.isxcode.oxygen.cli.annotation;
import com.isxcode.oxygen.cli.config.FreecodeAutoConfiguration;
import java.lang.annotation.*;
import org.springframework.context.annotation.Import;
/**
* freecode starter
*
* @author ispong
* @since 0.0.1
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/pojo/ProjectInfo.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/pojo/ProjectInfo.java | package com.isxcode.oxygen.cli.pojo;
import lombok.Data;
/**
* project basic info
*
* @author ispong
* @since 0.0.2
*/
@Data
public class ProjectInfo {
private String group;
private String artifact;
private String name;
private String description;
private String packageName;
}
| java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/config/BashConfig.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/config/BashConfig.java | package com.isxcode.oxygen.cli.config;
import org.jline.utils.AttributedString;
import org.jline.utils.AttributedStyle;
import org.springframework.shell.jline.PromptProvider;
import org.springframework.stereotype.Component;
import java.util.regex.Pattern;
@Component
public class BashConfig implements PromptProvider ... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/config/CliConfig.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/config/CliConfig.java | package com.isxcode.oxygen.cli.config;
import lombok.RequiredArgsConstructor;
import org.jline.terminal.impl.DumbTerminal;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.shell.command.CommandExecution;
import org.springframewo... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/config/FreecodeAutoConfiguration.java | spring-oxygen-cli/src/main/java/com/isxcode/oxygen/cli/config/FreecodeAutoConfiguration.java | package com.isxcode.oxygen.cli.config;
import com.isxcode.oxygen.cli.controller.FreecodeController;
import com.isxcode.oxygen.cli.properties.FreecodeProperties;
import com.isxcode.oxygen.cli.repository.FreecodeRepository;
import com.isxcode.oxygen.cli.service.FreecodeService;
import lombok.extern.slf4j.Slf4j;
import o... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/oxygen-spring-boot-starter/src/test/java/com/isxcode/oxygen/starter/OxygenSpringBootStarterTests.java | oxygen-spring-boot-starter/src/test/java/com/isxcode/oxygen/starter/OxygenSpringBootStarterTests.java | package com.isxcode.oxygen.starter;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ContextConfiguration;
@SpringBootTest
@ContextConfiguration(classes = OxygenStarterAutoConfiguration.class)
public class OxygenSpringBootStarterTe... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/oxygen-spring-boot-starter/src/main/java/com/isxcode/oxygen/starter/package-info.java | oxygen-spring-boot-starter/src/main/java/com/isxcode/oxygen/starter/package-info.java | /*
* Copyright [2020] [ispong]
*
* 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 by applicable law or agreed to i... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/oxygen-spring-boot-starter/src/main/java/com/isxcode/oxygen/starter/OxygenStarterAutoConfiguration.java | oxygen-spring-boot-starter/src/main/java/com/isxcode/oxygen/starter/OxygenStarterAutoConfiguration.java | package com.isxcode.oxygen.starter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
/**
* print terminal banner
*
* @author ispong
* @since 0.0.1
*/
@Slf4j
public class OxygenStarterAutoConfiguration... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/ReflectUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/ReflectUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.pojo.Dog;
import com.isxcode.oxygen.core.reflect.FieldBody;
import com.isxcode.oxygen.core.reflect.ReflectUtils;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.List;
import org.junit.jupiter.api.Test;... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/HttpUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/HttpUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.exception.OxygenException;
import com.isxcode.oxygen.core.http.HttpUtils;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.junit.jupiter.api.Test;
public class HttpUtilsTests {
@Test
public void testPostHttp() thr... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/MatcherUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/MatcherUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.matcher.MatcherUtils;
import org.junit.jupiter.api.Test;
public class MatcherUtilsTests {
@Test
public void testExcelParseFile() {
String url = "https://baidu.com";
String matcherParse = MatcherUtils.matcherParse("https://", ".com", url);
Syste... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/XmlUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/XmlUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.pojo.Dog;
import com.isxcode.oxygen.core.xml.XmlUtils;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.junit.jupiter.api.Test;
public class XmlUtilsTests {
@Test
public void tes... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/RandomUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/RandomUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.random.RandomUtils;
import org.junit.jupiter.api.Test;
public class RandomUtilsTests {
@Test
public void testRandom() {
System.out.println("data-->" + RandomUtils.generateNumber(7));
}
}
| java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/SecretUtilsTest.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/SecretUtilsTest.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.config.OxygenCoreAutoConfiguration;
import com.isxcode.oxygen.core.pojo.Dog;
import com.isxcode.oxygen.core.secret.AesUtils;
import com.isxcode.oxygen.core.secret.JwtUtils;
import com.isxcode.oxygen.core.secret.RsaUtils;
import org.junit.jupiter.api.Test;... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/CommandUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/CommandUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.command.CommandUtils;
import com.isxcode.oxygen.core.file.FileUtils;
import lombok.SneakyThrows;
import org.junit.jupiter.api.Test;
public class CommandUtilsTests {
@Test
@SneakyThrows
public void testCommand() {
System.out.println(CommandUtils.ex... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/SnowflakeUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/SnowflakeUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.snowflake.SnowflakeUtils;
import org.junit.jupiter.api.Test;
public class SnowflakeUtilsTests {
@Test
public void testSnowflake() {
Thread thread1 =
new Thread(
() -> {
for (int i = 0; i < 100; i++) {
System.out.println("th... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/EmailUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/EmailUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.config.OxygenCoreAutoConfiguration;
import com.isxcode.oxygen.core.email.EmailUtils;
import com.isxcode.oxygen.core.exception.OxygenException;
import java.util.ArrayList;
import java.util.List;
import org.junit.jupiter.api.Test;
import org.springframework... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/FreemarkerUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/FreemarkerUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.config.OxygenCoreAutoConfiguration;
import com.isxcode.oxygen.core.exception.OxygenException;
import com.isxcode.oxygen.core.file.FileUtils;
import com.isxcode.oxygen.core.freemarker.FreemarkerUtils;
import com.isxcode.oxygen.core.pojo.Dog;
import java.ni... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/DateUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/DateUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.date.DateUtils;
import org.junit.jupiter.api.Test;
public class DateUtilsTests {
@Test
public void testUtils() {
System.out.println(DateUtils.parseLocalDateStr("2020-12-12"));
}
}
| java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/FileUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/FileUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.file.FileUtils;
import java.io.File;
import java.nio.file.StandardOpenOption;
import org.junit.jupiter.api.Test;
public class FileUtilsTests {
private final String dirPath = "file";
@Test
public void testGenerateDir() {
FileUtils.generateDirs(dir... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/ExcelUtilsTests.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/ExcelUtilsTests.java | package com.isxcode.oxygen.core;
import com.isxcode.oxygen.core.excel.ExcelUtils;
import com.isxcode.oxygen.core.exception.OxygenException;
import com.isxcode.oxygen.core.pojo.Dog;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/pojo/Dog.java | spring-oxygen-core/src/test/java/com/isxcode/oxygen/core/pojo/Dog.java | package com.isxcode.oxygen.core.pojo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.isxcode.oxygen.core.excel.ExcelType;
import org.xml.sax.Attributes;
import org.xml.sax.helpers.DefaultHandler;
@JsonIgnoreProperties({"location"})
public class Dog extends DefaultHandler {
@ExcelType(cellN... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/package-info.java | spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/package-info.java | /*
* Copyright [2020] [ispong]
*
* 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 by applicable law or agreed to i... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/matcher/MatcherUtils.java | spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/matcher/MatcherUtils.java | package com.isxcode.oxygen.core.matcher;
import static java.util.regex.Pattern.compile;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class MatcherUtils {
public static String matcherParse(String startPattern, String endPattern, String content) {
Pattern pattern = compile(startPattern +... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/freemarker/FreemarkerUtils.java | spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/freemarker/FreemarkerUtils.java | package com.isxcode.oxygen.core.freemarker;
import com.isxcode.oxygen.core.exception.OxygenException;
import freemarker.cache.StringTemplateLoader;
import freemarker.template.Configuration;
import freemarker.template.Template;
import freemarker.template.TemplateException;
import java.io.IOException;
import java.nio.fi... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/file/FileUtils.java | spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/file/FileUtils.java | package com.isxcode.oxygen.core.file;
import com.isxcode.oxygen.core.exception.OxygenException;
import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.OpenOption;
import java.nio.file.Path;
import java.nio.file.Paths;
import lombok.ex... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/excel/ExcelUtils.java | spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/excel/ExcelUtils.java | package com.isxcode.oxygen.core.excel;
import static org.apache.poi.xssf.usermodel.XSSFWorkbookType.XLSX;
import com.isxcode.oxygen.core.exception.OxygenException;
import com.isxcode.oxygen.core.reflect.FieldBody;
import com.isxcode.oxygen.core.reflect.ReflectConstants;
import com.isxcode.oxygen.core.reflect.ReflectU... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
isxcode/spring-oxygen | https://github.com/isxcode/spring-oxygen/blob/5be88e3612e018ef07c0fd5218b12e42ea4872eb/spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/excel/ExcelType.java | spring-oxygen-core/src/main/java/com/isxcode/oxygen/core/excel/ExcelType.java | package com.isxcode.oxygen.core.excel;
import java.lang.annotation.*;
/**
* excel style annotation
*
* @author ispon
* @since 2019-10-31
*/
@Target(value = {ElementType.METHOD, ElementType.TYPE, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface ExcelType {
/** @re... | java | Apache-2.0 | 5be88e3612e018ef07c0fd5218b12e42ea4872eb | 2026-01-05T02:30:09.978877Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.