Package ai.rapids.cudf
Class Range
java.lang.Object
ai.rapids.cudf.Range
Helper utility for creating ranges.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Consumer<HostColumnVector.Builder>appendBytes(byte end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendBytes(byte start, byte end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendBytes(byte start, byte end, byte step) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendDoubles(double end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendDoubles(double start, double end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendDoubles(double start, double end, double step) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendFloats(float end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendFloats(float start, float end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendFloats(float start, float end, float step) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendInts(int end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendInts(int start, int end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendInts(int start, int end, int step) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendLongs(long end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendLongs(long start, long end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendLongs(long start, long end, long step) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendShorts(short end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendShorts(short start, short end) Append a range to the builder.static final Consumer<HostColumnVector.Builder>appendShorts(short start, short end, short step) Append a range to the builder.
-
Constructor Details
-
Range
public Range()
-
-
Method Details
-
appendBytes
Append a range to the builder. 0 inclusive to end exclusive.- Parameters:
end- last entry exclusive.- Returns:
- the consumer.
-
appendBytes
Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.- Returns:
- the consumer.
-
appendBytes
Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.step- how must to step by.- Returns:
- the builder for chaining.
-
appendShorts
Append a range to the builder. 0 inclusive to end exclusive.- Parameters:
end- last entry exclusive.- Returns:
- the consumer.
-
appendShorts
Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.- Returns:
- the consumer.
-
appendShorts
public static final Consumer<HostColumnVector.Builder> appendShorts(short start, short end, short step) Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.step- how must to step by.- Returns:
- the builder for chaining.
-
appendInts
Append a range to the builder. 0 inclusive to end exclusive.- Parameters:
end- last entry exclusive.- Returns:
- the consumer.
-
appendInts
Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.- Returns:
- the consumer.
-
appendInts
Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.step- how must to step by.- Returns:
- the builder for chaining.
-
appendLongs
Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.step- how must to step by.- Returns:
- the builder for chaining.
-
appendLongs
Append a range to the builder. 0 inclusive to end exclusive.- Parameters:
end- last entry exclusive.- Returns:
- the consumer.
-
appendLongs
Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.- Returns:
- the consumer.
-
appendFloats
public static final Consumer<HostColumnVector.Builder> appendFloats(float start, float end, float step) Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.step- how must to step by.- Returns:
- the builder for chaining.
-
appendFloats
Append a range to the builder. 0 inclusive to end exclusive.- Parameters:
end- last entry exclusive.- Returns:
- the consumer.
-
appendFloats
Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.- Returns:
- the consumer.
-
appendDoubles
public static final Consumer<HostColumnVector.Builder> appendDoubles(double start, double end, double step) Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.step- how must to step by.- Returns:
- the builder for chaining.
-
appendDoubles
Append a range to the builder. 0 inclusive to end exclusive.- Parameters:
end- last entry exclusive.- Returns:
- the consumer.
-
appendDoubles
Append a range to the builder. start inclusive to end exclusive.- Parameters:
start- first entry.end- last entry exclusive.- Returns:
- the consumer.
-