Questions tagged [snappydb]

SnappyDB is a key-value database for Android it's an alternative for SQLite using the NoSQL approach.

SnappyDB is a key-value database for Android it's an alternative for SQLite using the NoSQL approach.

https://github.com/nhachicha/SnappyDB

10 questions
12
votes
1 answer

What is the most efficient way to store long list of Objects in Realm?

I'm trying to compare Realm with Snappydb (This is my repo for those who would like to have a look at benchmark). I guess my way is wrong, as store-to-db time takes super long time in Realm in compare with Sanppydb. Benchmark shows following result.…
Hesam
  • 52,260
  • 74
  • 224
  • 365
7
votes
2 answers

Is that safe to keep only armeabi-v7a for an android apk

I have an android APK that use a native library (snappydb). The native libraries takes a lot of spaces, so I want to keep only the snappydb for armeabi-v7a architectures? I know it's not 100% safe to remove snappydb for other architectures, so my…
huangcd
  • 2,369
  • 3
  • 18
  • 26
4
votes
0 answers

com.esotericsoftware.kryo.KryoException: Unable to find class: ����(

I am currently encountering the following exception: eglSurfaceAttrib not implemented Failed to set EGL_SWAP_BEHAVIOR on surface 0x9e878060, error=EGL_SUCCESS com.esotericsoftware.kryo.KryoException: Unable to find class: ����( Serialization…
Vic Torious
  • 1,757
  • 3
  • 21
  • 24
2
votes
1 answer

from pyspark.sql.snappy import SnappyContext - ImportError: No module named snappy

even after reinstalling pyspark and snappydata whenever I try to import pyspark.sql.snappy import SnappyContext from the code below: from pyspark.sql.snappy import SnappyContext from pyspark.storagelevel import…
techie95
  • 515
  • 3
  • 16
1
vote
1 answer

On Network call response data stores successfully but not present while reading. Using SnappyDb for storing the data.

I am making a network call through volley. On Response success I am trying to store data through SnappyDb which shows that it has stored successfully. But while reading any data is not present. But if I have data outside of response than it saves…
Sujeet Kumar Mehta
  • 2,761
  • 2
  • 20
  • 28
1
vote
1 answer

Android SnappyDB dangerous permissions

I'm updating app to android targetSdk = 23 and now working on permission requests. Do I need to get some some of dangerous permission for the snappyDB library (it uses kryo library inside)? I mean exactly this…
0
votes
2 answers

What does byBatch(size) mean in SnappyDB?

for (String[] batch : snappyDB.allKeysIterator().byBatch(0)) What does 'size' param mean in byBatch() method?
kirvel
  • 629
  • 1
  • 6
  • 13
0
votes
0 answers

Didn't find class "com.snappydb.SnappydbException" on path: DexPathList

Snappy Db giving error on some specific devices - Didn't find class "com.snappydb.SnappydbException" on path: DexPathList
HarshitG
  • 2,677
  • 3
  • 16
  • 13
0
votes
0 answers

OutOfMemoryError while reading JSON with Jackson and Android

I'm facing a problem that I created innocently. So, I have this JSON that I use to store the object using SnappyDB and this object is stored because the user can send this JSON to the server when he gets online. If he is offline, the object is…
Renan Bandeira
  • 3,238
  • 17
  • 27
0
votes
1 answer

Default values with SnappyDB

I'm using SnappyDB in my app as a store for some key value pairs. I'm wrapping the DB interface with my own interface with default values in it's api. Example: String get(String key, String defaultValue); I noticed the only way to know if a key…
Moti Azu
  • 5,392
  • 1
  • 23
  • 32