UltipaSharp 1.0.8-s4.4
This is a prerelease version of UltipaSharp.
dotnet add package UltipaSharp --version 1.0.8-s4.4
NuGet\Install-Package UltipaSharp -Version 1.0.8-s4.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UltipaSharp" Version="1.0.8-s4.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="UltipaSharp" Version="1.0.8-s4.4" />
<PackageReference Include="UltipaSharp" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add UltipaSharp --version 1.0.8-s4.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: UltipaSharp, 1.0.8-s4.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package UltipaSharp@1.0.8-s4.4
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=UltipaSharp&version=1.0.8-s4.4&prerelease
#tool nuget:?package=UltipaSharp&version=1.0.8-s4.4&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Ultipa C# Driver
Connect Ultipa Instance in your application
Usages
Create Connections
Basic Connection
// create connections
var ultipa = new Ultipa(new UltipaConfig()
{
Hosts = new(){"<your hosts>"},
CurrentGraph = "<your graph>",
Username = "<username>",
Password = "<password>",
});
// send uql
var res = await _ultipa.Uql("find().nodes() return nodes{*} limit 2", new RequestConfig());
// get nodes list by alias name
var nodes = res.alias("nodes").asNodes();
//or get nodes by index
var nodes2 = res.get(0).asNodes();
Connect to Ultipa Cloud with TSL
// create connections
var ultipa = new Ultipa(new UltipaConfig()
{
Hosts = new(){"<your cloud instance url without protocal>"}, //e.g. xxx.cloud.ultipa.com:60061
CurrentGraph = "<your graph>",
Username = "<username>",
Password = "<password>",
Protocal = "https"
});
Function List
-
Uql(string uql, RequestConfig? config) : Task<UqlResponse>
-
UqlStream(string uql, UqlResponseStream cb, RequestConfig? config) : Task
-
InsertNodesBatchBySchema(Schema schema, List<Node> nodes, InsertRequestConfig? config) : InsertResponse
-
InsertNodesBatchAuto(List<Node> nodes, InsertRequestConfig? config) : Task<Dictionary<string,InsertResponse>>
-
InsertEdgesBatchBySchema(Schema schema, List<Edge> edges, InsertRequestConfig? config) : InsertResponse
-
InsertEdgesBatchAuto(List<Edge> edges, InsertRequestConfig? config) : Task<Dictionary<string,InsertResponse>>
-
InsertNodes(string schemaName, List<Node> nodes, InsertRequestConfig? config) : Task<UqlResponse>
-
DeleteNodes(string filter, InsertRequestConfig? config) : Task<(UqlResponse, List<Node>?)>
-
InsertEdges(string schemaName, List<Edge> edges, InsertRequestConfig? config) : Task<UqlResponse>
-
DeleteEdges(string filter, InsertRequestConfig? config) : Task<(UqlResponse, List<Edge>?)>
-
ShowGraph(RequestConfig? config) : Task<List<GraphSet>?>
-
GetGraph(string graphName, RequestConfig? config) : Task<GraphSet?>
-
HasGraph(string graphName, RequestConfig? config) : Task<bool>
-
CreateGraph(GraphSet graph, RequestConfig? config) : Task<UqlResponse>
-
CreateGraphIfNotExist(GraphSet graph, RequestConfig? config) : Task<(UqlResponse?, bool)>
-
AlterGraph(GraphSet oldGraph, GraphSet newGraph, RequestConfig? config) : Task<UqlResponse>
-
DropGraph(string graphName, RequestConfig? config) : Task<UqlResponse>
-
MountGraph(string graphName, RequestConfig? config) : Task<UqlResponse>
-
UnMountGraph(string graphName, RequestConfig? config) : Task<UqlResponse>
-
CompactGraph(string graphName, RequestConfig? config) : Task<UqlResponse>
-
Truncate(TruncateParams p, RequestConfig? config) : Task<UqlResponse>
-
ShowSchema(RequestConfig? config) : Task<List<Schema>>
-
ShowNodeSchema(RequestConfig? config) : Task<List<Schema>>
-
ShowEdgeSchema(RequestConfig? config) : Task<List<Schema>>
-
GetSchema(string schemaName, DBType dbType, RequestConfig? config) : Task<Schema?>
-
GetNodeSchema(string schemaName, RequestConfig? config) : Task<Schema?>
-
GetEdgeSchema(string schemaName, RequestConfig? config) : Task<Schema?>
-
CreateSchema(Schema schema, RequestConfig? config) : Task<UqlResponse>
-
CreateSchema(Schema schema, bool isCreateProperty, RequestConfig? config) : Task<UqlResponse>
-
CreateSchemaIfNotExist(Schema schema, RequestConfig? config) : Task<(UqlResponse?, bool)>
-
CreateSchemaIfNotExist(Schema schema, bool isCreateProperty, RequestConfig? config) : Task<UqlResponse>
-
DropSchema(Schema schema, RequestConfig? config) : Task<UqlResponse>
-
AlterSchema(Schema old, Schema schema, RequestConfig? config) : Task<UqlResponse>
-
ShowProperty(RequestConfig? config) : Task<List<Property>>
-
ShowProperty(DBType dbType, RequestConfig? config) : Task<List<Property>>
-
ShowProperty(DBType dbType, string schemaName, RequestConfig? config) : Task<List<Property>>
-
ShowNodeProperty(RequestConfig? config) : Task<List<Property>>
-
ShowEdgeProperty(RequestConfig? config) : Task<List<Property>>
-
GetProperty(DBType dbType, string schemaName, string propertyName, RequestConfig? config) : Task<Property>
-
GetNodeProperty(string schemaName, string propertyName, RequestConfig? config) : Task<Property>
-
GetEdgeProperty(string schemaName, string propertyName, RequestConfig? config) : Task<Property>
-
CreateProperty(DBType dbType, Property prop, RequestConfig? config) : Task<UqlResponse>
-
CreatePropertyIfNotExist(DBType dbType, Property prop, RequestConfig? config) : Task<(UqlResponse?, bool)>
-
CreateNodeProperty(Property prop, RequestConfig? config) : Task<UqlResponse>
-
CreateEdgeProperty(Property prop, RequestConfig? config) : Task<UqlResponse>
-
AlterProperty(DBType dbType, Property old, Property prop, RequestConfig? config) : Task<UqlResponse>
-
DropProperty(DBType dbType, string schemaName, string propertyName, RequestConfig? config) : Task<UqlResponse>
-
Lte(DBType dbType, string schemaName, string propertyName, RequestConfig? config) : Task<UqlResponse>
-
Lte(DBType dbType, string propertyName, RequestConfig? config) : Task<UqlResponse>
-
Ufe(DBType dbType, string schemaName, string propertyName, RequestConfig? config) : Task<UqlResponse>
-
Ufe(DBType dbType, string propertyName, RequestConfig? config) : Task<UqlResponse>
-
ShowIndex(RequestConfig? config) : Task<List<Index>>
-
ShowNodeIndex(RequestConfig? config) : Task<List<Index>>
-
ShowEdgeIndex(RequestConfig? config) : Task<List<Index>>
-
CreateIndex(DBType dbType, string schemaName, string propertyName, RequestConfig? config) : Task<UqlResponse>
-
CreateIndex(DBType dbType, string propertyName, RequestConfig? config) : Task<UqlResponse>
-
DropIndex(DBType dbType, string schemaName, string propertyName, RequestConfig? config) : Task<UqlResponse>
-
DropIndex(DBType dbType, string propertyName, RequestConfig? config) : Task<UqlResponse>
-
ShowFulltext(RequestConfig? config) : Task<List<Index>>
-
ShowNodeFulltext(RequestConfig? config) : Task<List<Index>>
-
ShowEdgeFulltext(RequestConfig? config) : Task<List<Index>>
-
CreateFulltext(DBType dbType, string schemaName, string propertyName, string fulltextName, RequestConfig? config) : Task<UqlResponse>
-
DropFulltext(DBType dbType, string fulltextName, RequestConfig? config) : Task<UqlResponse>
-
ShowPrivilege(RequestConfig? config) : Task<List<Privilege>>
-
ShowPolicy(RequestConfig? config) : Task<List<Policy>>
-
GetPolicy(string policyName, RequestConfig? config) : Task<Policy?>
-
CreatePolicy(Policy policy, RequestConfig? config) : Task<UqlResponse>
-
AlterPolicy(Policy policy, RequestConfig? config) : Task<UqlResponse>
-
DropPolicy(string policyName, RequestConfig? config) : Task<UqlResponse>
-
GrantPolicy(string username, List<string> policies, RequestConfig? config) : Task<UqlResponse>
-
RevokePolicy(string username, List<string> policies, RequestConfig? config) : Task<UqlResponse>
-
ShowUser(RequestConfig? config) : Task<List<User>>
-
GetUser(string userName, RequestConfig? config) : Task<User?>
-
CreateUser(User user, RequestConfig? config) : Task<UqlResponse>
-
AlterUser(User user, RequestConfig? config) : Task<UqlResponse>
-
DropUser(string userName, RequestConfig? config) : Task<UqlResponse>
-
ShowTask(RequestConfig? config) : Task<List<UltipaTask>>
-
ShowTask(object algoNameOrId, RequestConfig? config) : Task<List<UltipaTask>>
-
ShowTask(string algoName, TaskStatus status, RequestConfig? config) : Task<List<UltipaTask>>
-
GetTask(string id, RequestConfig? config) : Task<UltipaTask?>
-
StopTask(string id, RequestConfig? config) : Task<UqlResponse>
-
ClearTask(object algoNameOrId, RequestConfig? config) : Task<UqlResponse>
-
ClearTask(string algoNameOrId, TaskStatus status, RequestConfig? config) : Task<UqlResponse>
-
ExportAll(OnData cb, RequestConfig? config) : Task<ExportReply?>
-
ExportBySchema(DBType dbType, string schemaName, OnData cb, RequestConfig? config) : Task<ExportReply?>
-
Top(RequestConfig? config) : Task<List<Top>>
-
Kill(string id, RequestConfig? config) : Task<UqlResponse>
-
Stats(RequestConfig? config) : Task<DatabaseStats>
-
ShowAlgo(RequestConfig? config) : Task<List<Algo>>
-
InstallAlgo(string soFile, string infoFile, RequestConfig? config) : Task<InstallAlgoReply>
-
UninstallAlgo(string algoName, RequestConfig? config) : UninstallAlgoReply
-
DownloadAlgoResultFile(string taskId, string filename, OnData cb, RequestConfig? config) : Task
-
DownloadAlgoAllResultFile(string taskId, OnData cb, RequestConfig? config) : Task
-
ShowExta(RequestConfig? config) : Task<List<Exta>>
-
InstallExta(string soFile, string infoFile, RequestConfig? config) : Task<InstallExtaReply>
-
UninstallExta(string algoName, RequestConfig? config) : UninstallExtaReply
Release Notes
- 1.0.8-s4.4
- bugfix
- 1.0.7-s4.4
- bugfix
- changed FullIndex to FullText
- 1.0.5-s4.4
- bugfix
- pre-release ready
- 1.0.0 to 1.0.3-s4.4
- bug fix
- 1.0.0-s4.4
- The first Version
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- DotNetEnv (>= 3.0.0)
- Google.Protobuf (>= 3.26.1)
- Grpc (>= 2.46.6)
- Grpc.Net.Client (>= 2.62.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
- Newtonsoft.Json (>= 13.0.1)
- NodaTime (>= 3.1.11)
- TimeZoneConverter (>= 6.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated | |
---|---|---|---|
1.0.8-s4.4 | 88 | 8/28/2024 | |
1.0.5-s4.4 | 84 | 5/24/2024 | |
1.0.3-s4.4 | 101 | 5/15/2024 | |
1.0.1-s4.4 | 85 | 5/13/2024 | |
1.0.0-s4.4 | 80 | 5/11/2024 |
Bugfix