Comments (4)
Maybe I'm just confused... from what you're saying above (and in the code) they all return an Iterable. How is this inconsistent?
from azure-storage-android.
Sorry, I didn't realize that the code was removed from the comment. Here are the return types:
Iterable<CloudBlobContainer> listContainers
Iterable<CloudQueues> listQueues
Iterable<String> listTables
So the first two return objects with additional details (i.e. URI) where tables only returns the table name.
from azure-storage-android.
Ah, that's intentional. :) I realize it's not perfect, but here's why: for containers and queues there's additional metadata and properties that can be associated with the objects and which get returned by list. For tables, there's nothing -- no metadata, no properties. So, all that's actually ever returned is the table name. We could make a table object, but based on experience a lot of folks don't want the object and will just end up calling getName. Constructing the table object with the name is easy -- you just do client.getTableReference(tableName). So, we add the burden only for folks who actually want the object.
Summary: Container and queue need to full object to represent additional return values. Table does not.
from azure-storage-android.
Thanks for the explanation!
from azure-storage-android.
Related Issues (20)
- BlobListingDetails missing enum ALL?
- Problem uploading a file
- Unable to resolve hos
- Slow speed download
- CloudBlockBlob generated a wrong SAS token
- Random Non-Fatal Exceptions
- Outdated Sample
- Can there be a kotlin version of the sample compatible with latest azure storage version. HOT 1
- java.lang.ClassNotFoundException: Didn't find class "com.fasterxml.jackson.core.JsonFactory" on path: DexPathList
- SAS token blob container Shared Key authentication HOT 4
- Unexpected attempt to get register for a value without a register HOT 8
- Not found any example to upload a video to Blob.
- Update the Library and Simples
- CloudBlobContainer authentication error when repeating listBlobs() HOT 1
- Closeable resource has leak
- Unavailable ".withClientClaims()" method.
- Azure blob storage setup query
- Changing service endpoint for China
- This repo is missing important files
- why weak crypto ("MD5") using in this library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-storage-android.