com.backendless.hive.HiveGeneralWithoutStoreKey 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.List;
import java.util.concurrent.CompletableFuture;
public class HiveGeneralWithoutStoreKey extends HiveGeneral
{
protected final HiveManagement hiveManagement;
HiveGeneralWithoutStoreKey( String hiveName, StoreType storeType, HiveManagement hiveManagement )
{
super( hiveName, storeType, null );
this.hiveManagement = hiveManagement;
}
public CompletableFuture delete( List keys )
{
return makeRemoteCallForGeneral( "del", new AdaptingResponder<>( Long.class ), new Object[] { keys } );
}
public CompletableFuture exists( List keys )
{
return makeRemoteCallForGeneral( "exists", new AdaptingResponder<>( Long.class ), new Object[] { keys } );
}
public CompletableFuture touch( List keys )
{
return makeRemoteCallForGeneral( "touch", new AdaptingResponder<>( Long.class ), new Object[] { keys } );
}
public CompletableFuture keys( String filterPattern, String cursor, int pageSize )
{
return hiveManagement.keys( hiveName, storeType, filterPattern, cursor, pageSize );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy