com.backendless.hive.HiveGeneralWithoutStoreKeyForSortedSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-common Show documentation
Show all versions of java-sdk-common Show documentation
Provides access to Backendless API
The newest version!
package com.backendless.hive;
import com.backendless.core.responder.AdaptingResponder;
import java.util.Set;
import java.util.concurrent.CompletableFuture;
public class HiveGeneralWithoutStoreKeyForSortedSet extends HiveGeneralWithoutStoreKey
{
HiveGeneralWithoutStoreKeyForSortedSet( String hiveName, StoreType storeType, HiveManagement hiveManagement )
{
super( hiveName, storeType, hiveManagement );
}
public CompletableFuture>> difference( Set sortedSetKeys )
{
return makeRemoteCallWithoutStoreKey( HiveSortedSet.HIVE_SORTED_SET_ALIAS, "difference", new AdaptingResponder<>( Set.class ), new Object[] { sortedSetKeys } )
.thenApply( result -> (Set>) result );
}
public CompletableFuture>> intersection( Set sortedSetKeys )
{
return makeRemoteCallWithoutStoreKey( HiveSortedSet.HIVE_SORTED_SET_ALIAS, "intersection", new AdaptingResponder<>( Set.class ), new Object[] { sortedSetKeys } )
.thenApply( result -> (Set>) result );
}
public CompletableFuture>> union( Set sortedSetKeys )
{
return makeRemoteCallWithoutStoreKey( HiveSortedSet.HIVE_SORTED_SET_ALIAS, "union", new AdaptingResponder<>( Set.class ), new Object[] { sortedSetKeys } )
.thenApply( result -> (Set>) result );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy