Class CDPClientImpl

  • All Implemented Interfaces:
    CDPClient

    public class CDPClientImpl
    extends java.lang.Object
    implements CDPClient
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void fetchUserSegments​(java.util.List<java.lang.String> profilesTokens, java.util.Map<java.lang.String,​java.lang.String> keys, FetchUserSegmentsCallback callback)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CDPClientImpl

        public CDPClientImpl()
      • CDPClientImpl

        public CDPClientImpl​(java.lang.String endpoint)
                      throws java.net.URISyntaxException
        Throws:
        java.net.URISyntaxException
      • CDPClientImpl

        public CDPClientImpl​(java.net.URI endpoint)
    • Method Detail

      • fetchUserSegments

        public void fetchUserSegments​(java.util.List<java.lang.String> profilesTokens,
                                      java.util.Map<java.lang.String,​java.lang.String> keys,
                                      FetchUserSegmentsCallback callback)
        Specified by:
        fetchUserSegments in interface CDPClient
        Parameters:
        profilesTokens - list of Profile API Token that are defined on TreasureData
        keys - lookup keyColumn values
        callback - to receive the looked-up result