mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-13 13:01:02 +00:00
Rename project [stage]
This commit is contained in:
@@ -10,7 +10,7 @@ import java.time.Instant;
|
||||
import java.util.Optional;
|
||||
|
||||
/**
|
||||
* A store that refers to another store in the X-Pipe storage.
|
||||
* A store that refers to another store in the XPipe storage.
|
||||
* The referenced store has to be resolved by the caller manually, as this class does not act as a resolver.
|
||||
*/
|
||||
@JsonTypeName("named")
|
||||
|
||||
@@ -7,11 +7,11 @@ import lombok.Value;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Represents a reference to an X-Pipe data source.
|
||||
* Represents a reference to an XPipe data source.
|
||||
* Using {@link DataSourceReference} instances instead of {@link DataSourceId}
|
||||
* instances is mainly done for user convenience purposes.
|
||||
* <p>
|
||||
* While a {@link DataSourceId} represents a unique and canonical identifier for an X-Pipe data source,
|
||||
* While a {@link DataSourceId} represents a unique and canonical identifier for an XPipe data source,
|
||||
* there also exist easier and shorter ways to address a data source.
|
||||
* This convenience comes at the price of ambiguity and instability for other types of references.
|
||||
*/
|
||||
|
||||
@@ -91,7 +91,7 @@ public interface TableReadConnection extends DataSourceReadConnection {
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the rows to an OutputStream in the X-Pipe binary format.
|
||||
* Writes the rows to an OutputStream in the XPipe binary format.
|
||||
*/
|
||||
default void forwardRows(OutputStream out, int maxLines) throws Exception {
|
||||
if (maxLines == 0) {
|
||||
|
||||
@@ -67,7 +67,7 @@ public class JacksonMapper {
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new ObjectMapper that is able to map all required X-Pipe classes and also possible extensions.
|
||||
* Constructs a new ObjectMapper that is able to map all required XPipe classes and also possible extensions.
|
||||
*/
|
||||
public static ObjectMapper newMapper() {
|
||||
if (!JacksonMapper.isInit()) {
|
||||
|
||||
@@ -209,11 +209,11 @@ public class XPipeInstallation {
|
||||
String path = null;
|
||||
if (OsType.getLocal().equals(OsType.WINDOWS)) {
|
||||
var base = System.getenv("LOCALAPPDATA");
|
||||
path = FileNames.join(base, "X-Pipe");
|
||||
path = FileNames.join(base, "XPipe");
|
||||
} else if (OsType.getLocal().equals(OsType.LINUX)) {
|
||||
path = "/opt/xpipe";
|
||||
} else {
|
||||
path = "/Applications/X-Pipe.app";
|
||||
path = "/Applications/XPipe.app";
|
||||
}
|
||||
|
||||
return path;
|
||||
@@ -231,11 +231,11 @@ public class XPipeInstallation {
|
||||
String path = null;
|
||||
if (p.getOsType().equals(OsType.WINDOWS)) {
|
||||
var base = p.executeSimpleStringCommand(p.getShellDialect().getPrintVariableCommand("LOCALAPPDATA"));
|
||||
path = FileNames.join(base, "X-Pipe");
|
||||
path = FileNames.join(base, "XPipe");
|
||||
} else if (p.getOsType().equals(OsType.LINUX)) {
|
||||
path = "/opt/xpipe";
|
||||
} else {
|
||||
path = "/Applications/X-Pipe.app";
|
||||
path = "/Applications/XPipe.app";
|
||||
}
|
||||
|
||||
return path;
|
||||
|
||||
Reference in New Issue
Block a user