Search code examples
c#apache-phoenix

How to connect Phoenix by C#


In python, I could connect Phoenix query service by phoenixdb as below,

conn = phoenixdb.connect('http://address:8765/', autocommit=True)

Is there a similar way in c#?

Since I dont know the HBase cluster name, username and password, I cannot use PhoenixClient.


Solution

  • Found I could use PhoenixClient by VNet mode. Then it could connect http://address:8765